short notes of android
TRANSCRIPT
![Page 1: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/1.jpg)
Android Course ….
![Page 2: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/2.jpg)
Brief history about android. Features of android. Development challenges in android. Android OS architecture. Apps of android. Apps Architecture. Manifest file. Activity life cycle. Intent class.
Session Content
![Page 3: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/3.jpg)
Foundation company.
Founders of Android OS.
Open Handset Alliance.
Why android is number one in the world.
Versions of android OS till now.
Android’s brief history …
![Page 4: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/4.jpg)
Foundation company of Android OS:-
Android was founded in Palo Alto company in October 2003 in California.
The main target was to invent an OS for digital cameras but they were changed
their efforts to produce mobile OS.
In august Google was buying android.
Android’s brief history cont’d
![Page 5: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/5.jpg)
Android founders:-
Andy Rubin (brain and manager of producing android OS in google later).
Rich Miner.
Nick Sears.
Chris White.
Android’s brief history cont’d
![Page 6: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/6.jpg)
On November 5, 2007, the Open Handset Alliance, a consortium of technology companies including
Google Device manufactures
Sony – Samsung – HTC Wireless Carriers
sprint Nextel – T-Mobile Chipset makers
Qualcom – Texas Instrument
Open Handset Alliance
![Page 7: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/7.jpg)
Why android is number one in the world…?In 2011,2013 Android devices sell more
than IOS, Windows Phone and Mac OS.On July 2013 Google play stores had over 1 million android Apps published and over 5
billion App downloaded.
In April-May 2013 71% of mobile developers developed in android.
Android’s brief history cont’d
![Page 8: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/8.jpg)
Versions of android:-Android alpha (1.0) Gingerbread (2.3–2.3.7)
Android beta (1.1) Honeycomb (3.0–3.2.6)
Cupcake (1.5) Ice Cream Sandwich (4.0–4.0.4)
Doughnut (1.6) Jelly Bean (4.1–4.3.1)
Eclair (2.0–2.1) KitKat (4.4–4.4.4)
Froyo (2.2–2.2.3)
Android’s brief history cont’d
![Page 9: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/9.jpg)
Open platformopen sourceopen plug in
Java Implementation(not native).
fragmentation
Features of Android
![Page 10: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/10.jpg)
Fragmentation Issue.
Resolution Issue.
Screen sizes Issue.
Portability Issue.
Development challenges in android
![Page 11: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/11.jpg)
Android OS Architecture
![Page 12: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/12.jpg)
Every App consists from a set of Activities.
Activitysingle screen in your program that will
do a specific task.
Apps of Android
![Page 13: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/13.jpg)
Apps Architecture
Hello World!
Button
App Layout
![Page 14: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/14.jpg)
The manifest file is a mandatory file for every application
Contains: Application declaration Activities Services Permissions Hw and Sw resources used by the Application Intent-filters
Manifest File
![Page 15: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/15.jpg)
Activity life cycle
![Page 16: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/16.jpg)
onCreate() Called when the activity is first created, a must! onStart() Called when the activity becomes visible to the user onResume() Called when the activity starts interacting with
the user onPause() Called when the current activity is being paused
and the previous activity is being resumed onStop() Called when the activity is no longer visible to the
user onDestroy() Called before the activity is destroyed by the
system (either manually or by the system to conserve memory)
onRestart() Called when the activity has been stopped and is restarting again
Activity life cycle cont’d
![Page 17: Short notes of android](https://reader035.vdocuments.us/reader035/viewer/2022062523/58ee0fe81a28ab8d448b45e3/html5/thumbnails/17.jpg)
Intents: asynchronous messages to activate core Android components (e.g. Activities).
Explicit Intent The component (e.g. Activity1) specifies the destination of the intent (e.g. Activity 2).
Intent class
**********
Login