SlideShare uma empresa Scribd logo
1 de 370
 
Few reasons to go MAD… ,[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction to Android ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Why Android ,[object Object],[object Object],[object Object],[object Object],[object Object]
Open Handset Alliance (OHA) ,[object Object],[object Object],[object Object],[object Object],[object Object]
 
Features ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Features (Contd….) ,[object Object],[object Object],[object Object],[object Object]
Android Architecture
Linux Kernel ,[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Application Framework ,[object Object],[object Object],[object Object]
Applications ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Android applications are compiled to Dalvik byte code Write app in Java Compiled in Java Transformed to Dalvik byte code Linux OS   Loaded into Dalvik VM
Android SDK  ADT: Android Development Tool, an  Eclipe plugin  Two debuggers  adb : Android Debug Bridge  ddms :  Dalvik Debug Monitor Server  aapk : Android Application package tool  All resources are bundled into an archive, called  apk file.  dx : java byte code to  Dalvik executable translator
Differences between Smart Phones Feature Android Windows mobile BlackBerry company Google Microsoft RIM OS family Linux Windows  Mobile OS Languages Java Visual C++ C++ SDK Platform Multiplatform dependent dependent Face book Yes Yes Yes Multitasking Yes limited limited
Differences between Apple and Android Specification Apple Android Ownership Apple Proprietary Google open Source Compatible Access Technology 3G,3.5G,Wi-Fi,Bluetooth 2G,3G,3.5G and 4G(GSM , CDMA,Bluetooth,Wi-Fi, and WiMAX) Compatible Devices iPod , iPod Touch, iPhones Any Devices Messaging SMS , MMS ,email SMS , MMS , email and C2DM Web Browser Safari Open source Web kit layout engine coupled with Chrome’s V8 JavaScript engine Connectivity Wi-Fi, Bluetooth Wi-Fi, Bluetooth and NFC Multitasking Supported Supported Other device connectivity (Internet) Bluetooth (Internet Tethering) Hotspot feature with Wi-Fi
Differences between Apple and Android Specification Apple Android Chrome to phone Not supported Supported 3D Google Map Not Yet Supported Email Attachments Single file only Multiple files Google Talk Web browser chat GTalk Specific Client and Video Supported Hardware Vendors Apple Samsung,Motorola,LG,Sony Ericsson, Dell,Huawei,HTC 3rd Party Branded OS No Supported Adobe Flash Support Not Supported Supported
Android applications have common structure Views  such as lists, grids, text boxes, buttons, and even an embeddable web browser Content Providers  that enable applications to access data from other applications (such as Contacts), or to share their own data A  Resource Manager , providing access to non-code resources such as localized strings, graphics, and layout files A  Notification Manager  that enables all apps to display custom alerts in the status bar An  Activity Manager  that manages the life cycle of applications and provides a common navigation backstack
Android applications have common  structure Broadcast receivers  can trigger intents that start an application Data storage  provide data for your apps, and can be shared between apps – database, file, and shared preferences (hash map) used by group of applications Services  run in the background and have no UI for the user – they will update data, and trigger events Intents  specify what specific action should be performed Activity  is the presentation layer of your app: there will be one per screen, and the Views provide the UI to the activity
Replacing & Reusing Components GMail Contacts Home Blogger Chat Client component makes a request for a specific action “ Pick photo” Picasa System picks best component for that action New components can use existing functionality Blogger Photo Gallery
There is a common file structure for applications code images files UI layouts constants Autogenerated resource list
Hello World !!! ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Project Properties Project Name This is the name of the directory or folder on your computer that you want to contain the project. Package Name This is the package namespace (following the same rules as for packages in the Java programming language) that you want all your source code to reside under. This also sets the package name under which the stub Activity will be generated. The package name you use in your application must be unique across all packages installed on the system; for this reason, it's very important to use a standard domain-style package for your applications. In the example above, we used the package domain "com.chicagoandroids".  Activity Name This is the name for the class stub that will be generated by the plug-in. This will be a subclass of Android's Activity class. An Activity is simply a class that can run and do work. It can create a UI if it chooses, but it doesn't need to.  Application Name This is the human-readable title for your application.
The Automatic* Portions… ,[object Object],[object Object]
The Automatic* Portions… ,[object Object],[object Object]
A word about the emulator ,[object Object],[object Object],[object Object],[object Object]
Run hello world ,[object Object],[object Object],[object Object],[object Object]
The AndroidManifest lists application details ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The AndroidManifest File ,[object Object],[object Object],[object Object],[object Object]
The AndroidManifest File ,[object Object],[object Object],[object Object],[object Object]
Activities and Tasks ,[object Object],[object Object],[object Object]
Activities (continue)
Activities (continue)
Activities vs Tasks (Apps) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],[object Object]
Managing Tasks ,[object Object],[object Object],[object Object],[object Object],[object Object]
Managing Tasks ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],[object Object]
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],New Activity Activity A Root Activity Original Task Activity A Root Activity Original Task New Activity New Task standard/singleTop without FLAG_ACTIVITY_NEW_TASK singleTask/singleInstance
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],[object Object],[object Object],Activity B Activity A Task A Activity D Task B Activity B and Activity C are  standard/singleTop Activity C Activity B Activity C Activity B Activity A Task A Activity C Task B Activity C is singleTask or singleInstance
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],"standard" ,[object Object],[object Object],"singleTop" "singleTask" "singleInstance" ,[object Object]
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],Activity B Activity A Activity C Original Task Activity D An intent arrives for an activity of type D Activity B Activity A Activity C Activity D Activity D If D is"standard" Activity B Activity C Activity D If D is"singleTop" The existing instance D is expected to handle the new intent (since it's at the top of the stack) Activity A
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],Activity B Original Task An intent arrives for an activity of type B If B is"singleInstance" A "singleInstance" activity is always at the top of the stack, so it is always in position to handle the intent. Activity B
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],Activity B Original Task An intent arrives for an activity of type B If B is"singleTask"  Activity B can handle the intent since it is in position. Activity B Activity A Activity A Activity B Original Task An intent arrives for an activity of type B If B is"singleTask"  Activity B cannot handle the intent since it is not in position and the intent is dropped. Activity B Activity A Activity A
Activities and Tasks (Cont)
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],[object Object],[object Object]
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],[object Object]
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Activities and Tasks (Cont) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Process Basics ,[object Object],[object Object],[object Object],[object Object],[object Object]
Creating an Activity ,[object Object],[object Object],[object Object],[object Object],[object Object]
Declaring the Activity in Manifest File ,[object Object],[object Object],[object Object]
Declaring the Activity in Manifest File ,[object Object],[object Object],[object Object],[object Object],[object Object]
Starting an Activity ,[object Object],[object Object],[object Object]
Starting an Activity ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Managing the Activity Lifecycle ,[object Object],[object Object],[object Object],[object Object]
Paused v/s Stopped ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Android Activity Life Cycle ,[object Object],[object Object],[object Object]
Android Activity Life Cycle ,[object Object],[object Object],[object Object],[object Object]
Android Activity Life Cycle ,[object Object],[object Object],[object Object]
Saving Activity State ,[object Object],[object Object],[object Object]
Saving Activity State ,[object Object],[object Object],[object Object]
Tasks and Back Stack ,[object Object],[object Object],[object Object],[object Object]
Tasks and Back Stack
Application Life Cycle ,[object Object],[object Object],[object Object]
Application Life Cycle (1) System Process Home  Process Home Mail Message Browser Map Mail  Process Browser  Process Map  Process
Application Life Cycle (2) System Process Home  Process Home Map Browser Message Mail Map  Process Browser  Process Mail  Process
Intents & Intent Filters
What is Intent Messaging? ,[object Object],[object Object],[object Object],[object Object]
What is Intent Messaging? ,[object Object],[object Object],[object Object]
What is Intent Messaging? ,[object Object],[object Object],[object Object]
What Does Intent Object Contain? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Intent Object Structure
Intent Object Structure Is Made Of ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Component name Field ,[object Object],[object Object],[object Object],[object Object],[object Object]
Action Field ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data Field ,[object Object],[object Object],[object Object],[object Object],[object Object]
Data Field ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Category Field ,[object Object],[object Object],[object Object],[object Object]
Pre-defined Categories (by Android) ,[object Object],[object Object],[object Object],[object Object]
Extras Field ,[object Object],[object Object],[object Object],[object Object]
Flags Field ,[object Object],[object Object]
Intent Resolution
What is Intent Resolution? ,[object Object]
Types of Intents ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Intent Resolution Schemes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What are Intent Filters? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Where are Filters Specified? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Intent Filters Intent Resolution
Intent Filters ,[object Object],[object Object],[object Object],[object Object]
How Android System Perform Intent Resolution (for Implicit Intents)? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Action Test ,[object Object],[object Object],[object Object],[object Object]
Category Test ,[object Object],[object Object],[object Object],[object Object],[object Object]
Category Test - android.intent.category.DEFAULT ,[object Object],[object Object]
Data Test ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Test - URI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data Test - Mime media type ,[object Object],[object Object]
Data Test - Testing Rules ,[object Object],[object Object],[object Object],[object Object],[object Object]
Intent Resolution – Special Use Cases
.MAIN Action & .LAUNCHER Category ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
.MAIN Action & .LAUNCHER Category ,[object Object],[object Object]
User Interface In Android
View and ViewGroup ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
View and ViewGroup ,[object Object],[object Object],[object Object],[object Object]
View Hierarchy ,[object Object]
What is a Layout? ,[object Object],[object Object]
How to declare a Layout? Two Options ,[object Object],[object Object],[object Object],[object Object]
Example of using both options ,[object Object],[object Object],[object Object],[object Object]
Advantages of Option #1: Declaring UI in XML ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Layout File Structure ,[object Object],[object Object]
Example: Layout File ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Where to create Layout file? ,[object Object]
Load the Layout XML Resource ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object]
ID Attribute ,[object Object],[object Object],[object Object],[object Object]
ID Attribute - Android Resource ID ,[object Object],[object Object],[object Object],[object Object]
How to reference views in Java code? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What Are Layout Parameters? ,[object Object],[object Object],[object Object]
[object Object]
layout_width & layout_height ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Linear Layout fill_parent fill_parent Some Button... fill_parent wrap_content
Layout Types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
LinearLayout ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
LinearLayout ,[object Object],[object Object],[object Object]
LinearLayout
LinearLayout ,[object Object],[object Object],[object Object]
LinearLayout ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
LinearLayout ,[object Object]
LinearLayout ,[object Object],[object Object],[object Object],[object Object],[object Object]
LinearLayout ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
LinearLayout ,[object Object],[object Object],[object Object],[object Object],[object Object]
LinearLayout ,[object Object],[object Object]
LinearLayout LinearLayout vertical LinearLayout horizontal weight=0.5 weight=0.5
RelativeLayout ,[object Object],[object Object],[object Object]
RelativeLayout toRightOf 1 1 parentTop parentLeft layout_below button1 2 parentBottom toRightOf 1
RelativeLayout : LayoutParams @+id/green @+id/red android:layout_above="@id/green" android:layout_below="@id/red" @+id/green @+id/red android:layout_toLeftOf="@id/green" android:layout_toRightOf="@id/red"
RelativeLayout : LayoutParams @+id/red @+id/red @+id/green android:layout_alignBottom="@id/red" @+id/green android:layout_alignTop="@id/red" @+id/green android:layout_alignLeft="@id/red" @+id/green android:layout_alignRight="@id/red"
RelativeLayout : LayoutParams android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" parent @+id/red @+id/red
RelativeLayout Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Table Layout ,[object Object],[object Object],[object Object],[object Object]
Table Layout ,[object Object],[object Object],[object Object]
Table Layout ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Table Layout ,[object Object],[object Object]
Table Layout Example
Table Layout ,[object Object],[object Object],[object Object],[object Object]
Table Layout ,[object Object]
Frame Layout ,[object Object],[object Object],[object Object],[object Object]
Frame Layout Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ScrollView Layout ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example of ScrollView
Absolute Layout ,[object Object],[object Object],[object Object],[object Object],[object Object]
Adapting to Display Orientation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Adapting to Display Orientation
Adapting to Display Orientation ,[object Object],[object Object],[object Object],[object Object]
Adapting to Display Orientation ANCHORING VIEWS LANDSCAPE PORTRAIT
Adapting to Display Orientation ,[object Object],[object Object],[object Object],[object Object]
Persisting State Information during Changes in Configuration ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Detecting Orientation Changes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Controlling the Orientation of the Activity ,[object Object],[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object]
View Widgets (android.view.View) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Using android.widget.Button ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Using android.widget.RadioButton ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Menus ,[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Menus ,[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Menus ,[object Object],<option menu> <sub-menu> <context menu> Automatically  fill “Hi!”  in the EditText Plus menu will also open a  sub-menu Display messages when a menu  clicked
Menu Composition Plus Home Pre Next <option menu> Sub1 Sub2 Hi Hola Hello <sub-menu> <context menu from EditText> Long press  in EditText
Creating  a Menu Resource ,[object Object],[object Object],[object Object],[object Object]
Creating  a Menu Resource ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating  a Menu Resource ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Inflating a Menu Resource ,[object Object],[object Object],[object Object],[object Object]
Inflating a option menu resource  ,[object Object],[object Object],public boolean  onCreateOptionsMenu (Menu menu) { MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu. menu , menu); return true; }
Response to user action ,[object Object],[object Object],@Override public boolean  onOptionsItemSelected (MenuItem item) { switch (item.getItemId()) {  case R.id.menuItemPlus: Toast.makeText(this, &quot;Plus Button Clicked !&quot;, Toast.LENGTH_SHORT).show(); Log.i(TAG,&quot;menuItemPlus&quot;); return true; : : case R.id.menuItemNext: Toast.makeText(this, &quot;Next Button Clicked !&quot;, Toast.LENGTH_SHORT).show(); Log.i(TAG,&quot;menuItemNext&quot;); return true; } return false; }
Changing menu items at runtime ,[object Object],[object Object],[object Object]
How to Create Context Menu? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Populating Menu with Menu Items: #1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How to handle User's Menu Selection? ,[object Object],[object Object],[object Object],[object Object]
Example: Handling Menu Selection ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating Submenus ,[object Object],[object Object],[object Object]
Creating Submenus ,[object Object]
Creating Dialogs ,[object Object],[object Object],[object Object]
Creating Dialogs ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Showing a Dialog ,[object Object],[object Object],[object Object]
Showing a Dialog ,[object Object],[object Object],[object Object]
Example of Showing a Dialog ,[object Object],[object Object],[object Object],[object Object],[object Object]
Creating an Alert Dialog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating an Alert Dialog ,[object Object],[object Object],[object Object]
Creating an Alert Dialog
Creating an Alert Dialog – Adding Buttons ,[object Object]
Creating an Alert Dialog – Adding List ,[object Object]
Creating an Alert Dialog – Adding checkboxes and radio buttons ,[object Object],[object Object]
Creating a ProgressDialog ,[object Object],[object Object],[object Object],[object Object]
Creating a ProgressDialog ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Date/Time Selection Widgets ,[object Object],[object Object],[object Object],[object Object],[object Object]
Date/Time Select
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android
PPT Companion to Android

Mais conteúdo relacionado

Mais procurados

Android and android versions
Android and android versionsAndroid and android versions
Android and android versionsMegha Jain
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development pptsaitej15
 
Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?Sura Gonzalez
 
Android SDK Tutorial | Edureka
Android SDK Tutorial | EdurekaAndroid SDK Tutorial | Edureka
Android SDK Tutorial | EdurekaEdureka!
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersBoom Shukla
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecturedeepakshare
 
Presentation on Android
Presentation on AndroidPresentation on Android
Presentation on AndroidNausad Ahamed
 
Mobile application development ppt
Mobile application development pptMobile application development ppt
Mobile application development ppttirupathinews
 
Android application structure
Android application structureAndroid application structure
Android application structureAlexey Ustenko
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android StudioSuyash Srijan
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android DevelopmentAly Abdelkareem
 
My presentation on Android in my college
My presentation on Android in my collegeMy presentation on Android in my college
My presentation on Android in my collegeSneha Lata
 
Layouts in android
Layouts in androidLayouts in android
Layouts in androidDurai S
 
Android Development Slides
Android Development SlidesAndroid Development Slides
Android Development SlidesVictor Miclovich
 

Mais procurados (20)

Android ppt
Android pptAndroid ppt
Android ppt
 
Android and android versions
Android and android versionsAndroid and android versions
Android and android versions
 
Android app development ppt
Android app development pptAndroid app development ppt
Android app development ppt
 
Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?
 
Android Training
Android TrainingAndroid Training
Android Training
 
Android SDK Tutorial | Edureka
Android SDK Tutorial | EdurekaAndroid SDK Tutorial | Edureka
Android SDK Tutorial | Edureka
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
 
Android Architecture
Android ArchitectureAndroid Architecture
Android Architecture
 
Presentation on Android
Presentation on AndroidPresentation on Android
Presentation on Android
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Mobile application development ppt
Mobile application development pptMobile application development ppt
Mobile application development ppt
 
Android application structure
Android application structureAndroid application structure
Android application structure
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Introduction to Android and Android Studio
Introduction to Android and Android StudioIntroduction to Android and Android Studio
Introduction to Android and Android Studio
 
Android UI
Android UIAndroid UI
Android UI
 
Introduction to Android Development
Introduction to Android DevelopmentIntroduction to Android Development
Introduction to Android Development
 
My presentation on Android in my college
My presentation on Android in my collegeMy presentation on Android in my college
My presentation on Android in my college
 
Android Platform Architecture
Android Platform ArchitectureAndroid Platform Architecture
Android Platform Architecture
 
Layouts in android
Layouts in androidLayouts in android
Layouts in android
 
Android Development Slides
Android Development SlidesAndroid Development Slides
Android Development Slides
 

Semelhante a PPT Companion to Android

Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A NutshellTed Chien
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App DevelopmentMike Kvintus
 
Android overview
Android overviewAndroid overview
Android overviewHas Taiar
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidJindal Gohil
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to AndroidJindal Gohil
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspectiveGunjan Kumar
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architectureDilip Singh
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1Kainda Kiniel Daka
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of androidakila_mano
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 
Ch1 hello, android
Ch1 hello, androidCh1 hello, android
Ch1 hello, androidJehad2012
 
Android deep dive
Android deep diveAndroid deep dive
Android deep diveAnuSahniNCI
 
Getting started with android programming
Getting started with android programmingGetting started with android programming
Getting started with android programmingPERKYTORIALS
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paperSravan Reddy
 

Semelhante a PPT Companion to Android (20)

Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
Android overview
Android overviewAndroid overview
Android overview
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to Android
 
Introduction to Android Environment
Introduction to Android EnvironmentIntroduction to Android Environment
Introduction to Android Environment
 
Android Basic
Android BasicAndroid Basic
Android Basic
 
Android
Android Android
Android
 
Android dev o_auth
Android dev o_authAndroid dev o_auth
Android dev o_auth
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architecture
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1
 
1 introduction of android
1 introduction of android1 introduction of android
1 introduction of android
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
Ch1 hello, android
Ch1 hello, androidCh1 hello, android
Ch1 hello, android
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Getting started with android programming
Getting started with android programmingGetting started with android programming
Getting started with android programming
 
Android Deep Dive
Android Deep DiveAndroid Deep Dive
Android Deep Dive
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
 

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

PPT Companion to Android

  • 1.  
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.  
  • 7.
  • 8.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. Android applications are compiled to Dalvik byte code Write app in Java Compiled in Java Transformed to Dalvik byte code Linux OS Loaded into Dalvik VM
  • 16. Android SDK  ADT: Android Development Tool, an Eclipe plugin  Two debuggers  adb : Android Debug Bridge  ddms : Dalvik Debug Monitor Server  aapk : Android Application package tool  All resources are bundled into an archive, called apk file.  dx : java byte code to Dalvik executable translator
  • 17. Differences between Smart Phones Feature Android Windows mobile BlackBerry company Google Microsoft RIM OS family Linux Windows Mobile OS Languages Java Visual C++ C++ SDK Platform Multiplatform dependent dependent Face book Yes Yes Yes Multitasking Yes limited limited
  • 18. Differences between Apple and Android Specification Apple Android Ownership Apple Proprietary Google open Source Compatible Access Technology 3G,3.5G,Wi-Fi,Bluetooth 2G,3G,3.5G and 4G(GSM , CDMA,Bluetooth,Wi-Fi, and WiMAX) Compatible Devices iPod , iPod Touch, iPhones Any Devices Messaging SMS , MMS ,email SMS , MMS , email and C2DM Web Browser Safari Open source Web kit layout engine coupled with Chrome’s V8 JavaScript engine Connectivity Wi-Fi, Bluetooth Wi-Fi, Bluetooth and NFC Multitasking Supported Supported Other device connectivity (Internet) Bluetooth (Internet Tethering) Hotspot feature with Wi-Fi
  • 19. Differences between Apple and Android Specification Apple Android Chrome to phone Not supported Supported 3D Google Map Not Yet Supported Email Attachments Single file only Multiple files Google Talk Web browser chat GTalk Specific Client and Video Supported Hardware Vendors Apple Samsung,Motorola,LG,Sony Ericsson, Dell,Huawei,HTC 3rd Party Branded OS No Supported Adobe Flash Support Not Supported Supported
  • 20. Android applications have common structure Views such as lists, grids, text boxes, buttons, and even an embeddable web browser Content Providers that enable applications to access data from other applications (such as Contacts), or to share their own data A Resource Manager , providing access to non-code resources such as localized strings, graphics, and layout files A Notification Manager that enables all apps to display custom alerts in the status bar An Activity Manager that manages the life cycle of applications and provides a common navigation backstack
  • 21. Android applications have common structure Broadcast receivers can trigger intents that start an application Data storage provide data for your apps, and can be shared between apps – database, file, and shared preferences (hash map) used by group of applications Services run in the background and have no UI for the user – they will update data, and trigger events Intents specify what specific action should be performed Activity is the presentation layer of your app: there will be one per screen, and the Views provide the UI to the activity
  • 22. Replacing & Reusing Components GMail Contacts Home Blogger Chat Client component makes a request for a specific action “ Pick photo” Picasa System picks best component for that action New components can use existing functionality Blogger Photo Gallery
  • 23. There is a common file structure for applications code images files UI layouts constants Autogenerated resource list
  • 24.
  • 25. Project Properties Project Name This is the name of the directory or folder on your computer that you want to contain the project. Package Name This is the package namespace (following the same rules as for packages in the Java programming language) that you want all your source code to reside under. This also sets the package name under which the stub Activity will be generated. The package name you use in your application must be unique across all packages installed on the system; for this reason, it's very important to use a standard domain-style package for your applications. In the example above, we used the package domain &quot;com.chicagoandroids&quot;. Activity Name This is the name for the class stub that will be generated by the plug-in. This will be a subclass of Android's Activity class. An Activity is simply a class that can run and do work. It can create a UI if it chooses, but it doesn't need to. Application Name This is the human-readable title for your application.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67. Tasks and Back Stack
  • 68.
  • 69. Application Life Cycle (1) System Process Home Process Home Mail Message Browser Map Mail Process Browser Process Map Process
  • 70. Application Life Cycle (2) System Process Home Process Home Map Browser Message Mail Map Process Browser Process Mail Process
  • 71. Intents & Intent Filters
  • 72.
  • 73.
  • 74.
  • 75.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.
  • 84.
  • 85.
  • 87.
  • 88.
  • 89.
  • 90.
  • 91.
  • 92. Intent Filters Intent Resolution
  • 93.
  • 94.
  • 95.
  • 96.
  • 97.
  • 98.
  • 99.
  • 100.
  • 101.
  • 102. Intent Resolution – Special Use Cases
  • 103.
  • 104.
  • 105. User Interface In Android
  • 106.
  • 107.
  • 108.
  • 109.
  • 110.
  • 111.
  • 112.
  • 113.
  • 114.
  • 115.
  • 116.
  • 117.
  • 118.
  • 119.
  • 120.
  • 121.
  • 122.
  • 123.
  • 124. Linear Layout fill_parent fill_parent Some Button... fill_parent wrap_content
  • 125.
  • 126.
  • 127.
  • 129.
  • 130.
  • 131.
  • 132.
  • 133.
  • 134.
  • 135.
  • 136. LinearLayout LinearLayout vertical LinearLayout horizontal weight=0.5 weight=0.5
  • 137.
  • 138. RelativeLayout toRightOf 1 1 parentTop parentLeft layout_below button1 2 parentBottom toRightOf 1
  • 139. RelativeLayout : LayoutParams @+id/green @+id/red android:layout_above=&quot;@id/green&quot; android:layout_below=&quot;@id/red&quot; @+id/green @+id/red android:layout_toLeftOf=&quot;@id/green&quot; android:layout_toRightOf=&quot;@id/red&quot;
  • 140. RelativeLayout : LayoutParams @+id/red @+id/red @+id/green android:layout_alignBottom=&quot;@id/red&quot; @+id/green android:layout_alignTop=&quot;@id/red&quot; @+id/green android:layout_alignLeft=&quot;@id/red&quot; @+id/green android:layout_alignRight=&quot;@id/red&quot;
  • 141. RelativeLayout : LayoutParams android:layout_alignParentTop=&quot;true&quot; android:layout_alignParentLeft=&quot;true&quot; android:layout_alignParentBottom=&quot;true&quot; android:layout_alignParentRight=&quot;true&quot; parent @+id/red @+id/red
  • 142.
  • 143.
  • 144.
  • 145.
  • 146.
  • 148.
  • 149.
  • 150.
  • 151.
  • 152.
  • 154.
  • 155.
  • 156. Adapting to Display Orientation
  • 157.
  • 158. Adapting to Display Orientation ANCHORING VIEWS LANDSCAPE PORTRAIT
  • 159.
  • 160.
  • 161.
  • 162.
  • 163.
  • 164.
  • 165.
  • 166.
  • 167.
  • 168.
  • 169.
  • 170.
  • 171.
  • 172.
  • 173.
  • 174.
  • 175.
  • 176.
  • 177. Menu Composition Plus Home Pre Next <option menu> Sub1 Sub2 Hi Hola Hello <sub-menu> <context menu from EditText> Long press in EditText
  • 178.
  • 179.
  • 180.
  • 181.
  • 182.
  • 183.
  • 184.
  • 185.
  • 186.
  • 187.
  • 188.
  • 189.
  • 190.
  • 191.
  • 192.
  • 193.
  • 194.
  • 195.
  • 196.
  • 197.
  • 198. Creating an Alert Dialog
  • 199.
  • 200.
  • 201.
  • 202.
  • 203.
  • 204.