sagar_androidPPT (1)

Views:
 
Category: Entertainment
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

What is Android ?:

What is Android ? A Complete & Modern Embedded operating System for Mobile Devices. It was developed in Palo alto in California by Andy Rubin in 2003 which was purchased by Google in August,2005 for $50 million. A cutting-edge mobile User experience. A world-class software stack for building applications. An open platform for developers, users & industries.

Android Building Blocks:

Android Building Blocks There are the most important parts of the Android APIs: Android Manifest.xml -the control file-tells the system what to do with the top level components. Activities -an object that has a life cycle-is a chunk of code that does some work. Views -an objects that know how to draw itself to the screen. Intents -a simple message object that represents an “intention” to do something. Notifications -is small icon that appears in the status bar(SMS message) -for alerting the user. Services -is a body of code that runs in the background.

Life Cycle of an Android Application:

Life Cycle of an Android Application

Intro to Intents:

Intro to Intents Intents are message-passing mechanism that lets you declare your intention than an action be performed with a particular piece of data. Types of Intents: Explicit Intents. Implicit Intents

Fragments:

Fragments A fragment is a piece of an activity which enable more modular activity design. It will not be wrong if we say, a fragment is a kind of sub-activity. A fragment has its own layout and its own behaviour with its own lifecycle callbacks.

Fragment Lifecycle:

Fragment Lifecycle

UI Layouts:

UI Layouts There are number of Layouts provided by Android which you will use in almost all the Android Applications to provide different view, look and feel. Linear Layout Relative Layout Table Layout Frame Layout Grid Layout

Relative Layout:

Relative Layout

Table Layout:

Table Layout

RecyclerView:

RecyclerView A more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views. Provides built Layout manages for positions default animations for common item operations, such as removal or addition of items Continue…

RecyclerView :

RecyclerView Like the list-view, uses an adapter We normally use a card-view as the default layout for each item in the list. Similar to a fragment.

Difference b/w List-view and Recycle-view:

Difference b/w List-view and Recycle-view

Retrofit:

Retrofit Turns your REST API into a java interface. Simple to use. JSON conversion using Gson. Custom converters.

Difference between Volley and Retrofit:

Difference between Volley and Retrofit Volley Retrofit Need to parse REST API in JSON Fromat Menually Automatically parse the REST API through GSON created modal class It has inbuilt image loading support. Need Image libraries for loading Images like Glide,Picasso.. Inbuilt feature of Retry policy No Retry policy

Slide19:

CONCLUSION Android is open to all: industry, developers and users Participating in many of the successful open source projects Aims to be as easy to build for as the web . Google Android is stepping into the next level of Mobile Internet

Slide20:

Coastal Highway,Lewes,Delaware USA +1-786-3742-515 info@maansoftwares.com https://www.maansoftwares.com

authorStream Live Help