Android        By       Durai. Sduraisy2k@gmail.com
AndroidAndroid is a software platform for mobile devicesbased on the Linux Operating system an which isdeveloped by Google...
Open handset alliance
History of androidIt was Founded in Palo Alto, California , United Statesin October 2003 by Andy Rubin , Rich Miner, NickS...
Versions of androidAndroid 1.0Android 1.1Android 1.5 Cupcake.Android 1.5 Donut.Android 2.0/2.1 Éclair.Android 2.2.x FroyoA...
Android Vs other mobile os
Comparison with ios
Comparison with symbianANDROID                      SYMBIANEasy to upgrade              Upgrade is not availableProcessor ...
Comparison with windows ANDROID                        WINDOWS MOBILE Android is Open source         Windows mobile is sim...
Building and Running●   Android asset packaging tool (aapt) crawls through the resource    folder and generates an integer...
Building and Running●   Android programs are compiled into .dex (Dalvik Executable)    files, which are in turn zipped int...
DVM vs JVM
Building Blocks of Android●   An Activity●   An Intent●   A Service●   A Content provider●   A Broadcast Receiver
An Activity●   The activity is the most visible form of an Android    application. An activity presents the UI to an    ap...
An intent●   An application moves from one activity to another    by calling a method known as Intent.
A Service●   applications running "in the background"●   The service is an Android application that has no UI
A Content Provider
A Broadcast receiver●   A Component that does nothing but receive and    react to broadcast announcements.●   Doesnt has t...
Life-Cycle of Activity
Life-Cycle of Activity●   onCreate():           Called when the activity is first created           An activity does all i...
Life-Cycle of Activity●   onRestart()        called after the activity has been stopped.        Always followed by onStart()
Life-Cycle of Activity●   onStart():          Called just before the activities become visible    to the user          Fol...
Life-Cycle of Activity●   onResume()           Called just before the activity starts    interacting with the user        ...
Life-Cycle of Activity●   onPause():        Called when the system is about to start    resuming another activity         ...
Life-Cycle of Activity●   onStop:        Called when the Activity is no longer visible to    user.        Because it is be...
Life-Cycle of Activity●   onDestroy():         Called before the activity is destroyed         Final call that the activit...
Upcoming SlideShare
Loading in …5
×

Android introduction

786 views

Published on

The introduction about the Android

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
786
On SlideShare
0
From Embeds
0
Number of Embeds
25
Actions
Shares
0
Downloads
40
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android introduction

  1. 1. Android By Durai. Sduraisy2k@gmail.com
  2. 2. AndroidAndroid is a software platform for mobile devicesbased on the Linux Operating system an which isdeveloped by Google and Open Handset Alliance.Android is a software stack for mobile devices thatincludes an operating system and applications.
  3. 3. Open handset alliance
  4. 4. History of androidIt was Founded in Palo Alto, California , United Statesin October 2003 by Andy Rubin , Rich Miner, NickSears and Chris White.Google Inc. purchased the initial developer of thesoftware , Android Inc in 2005.
  5. 5. Versions of androidAndroid 1.0Android 1.1Android 1.5 Cupcake.Android 1.5 Donut.Android 2.0/2.1 Éclair.Android 2.2.x FroyoAndroid 2.3.x GingerbreadAndroid 3.x HoneycombAndroid 4.0.x Ice Cream SandwichAndroid 4.1.x Jelly Bean
  6. 6. Android Vs other mobile os
  7. 7. Comparison with ios
  8. 8. Comparison with symbianANDROID SYMBIANEasy to upgrade Upgrade is not availableProcessor is high Processor speed is lowLot of free apps in Google Less no of free apps in OVIplay storeSmooth handling Rough handlingUser friendly Not User Friendly
  9. 9. Comparison with windows ANDROID WINDOWS MOBILE Android is Open source Windows mobile is similar to Platform windows and has lot of legal bindings Google Play has more than Compare with android it has 500,000 apps only less no of apps and also no free apps With Google it is more No such features are here powerful with Google Maps and Google voice search Google Wallet app No such type of app is there Full , Multiple Account Sync Gmail support only through ,no outlook required outlook express.
  10. 10. Building and Running● Android asset packaging tool (aapt) crawls through the resource folder and generates an integer ID for every resource. These ID’s are written into R.java source file under generated sources folder where they can be accessed from application code.● Java compiler (javac) compiles the application’s java source files along with generated source files● Dexer (dx) translates the compiled Java bytecode into Dalvik bytecode (dex) format● Apkbuilder zips the resource table, application code and compiled resource into an apk file
  11. 11. Building and Running● Android programs are compiled into .dex (Dalvik Executable) files, which are in turn zipped into a single .apk file on the device. .dex files can be created by automatically translating compiled applications written in the Java programming language.
  12. 12. DVM vs JVM
  13. 13. Building Blocks of Android● An Activity● An Intent● A Service● A Content provider● A Broadcast Receiver
  14. 14. An Activity● The activity is the most visible form of an Android application. An activity presents the UI to an application, along with the assistance of a class known as a view● An application may contain one or more activities. They are typically on a one-to-one relationship with the screens found in an application.
  15. 15. An intent● An application moves from one activity to another by calling a method known as Intent.
  16. 16. A Service● applications running "in the background"● The service is an Android application that has no UI
  17. 17. A Content Provider
  18. 18. A Broadcast receiver● A Component that does nothing but receive and react to broadcast announcements.● Doesnt has the UI.● They may start an Activity in response to the information theu receive.
  19. 19. Life-Cycle of Activity
  20. 20. Life-Cycle of Activity● onCreate(): Called when the activity is first created An activity does all its initial setup of global state Always followed by onStart()
  21. 21. Life-Cycle of Activity● onRestart() called after the activity has been stopped. Always followed by onStart()
  22. 22. Life-Cycle of Activity● onStart(): Called just before the activities become visible to the user Followed by onResume() if the activity comes to the foreground
  23. 23. Life-Cycle of Activity● onResume() Called just before the activity starts interacting with the user always followed by onPause()
  24. 24. Life-Cycle of Activity● onPause(): Called when the system is about to start resuming another activity The next Activity will not resumed until it returns. Followed either by onResume() if the activity returns back to the front, or by onStop if it comes invisible to user.
  25. 25. Life-Cycle of Activity● onStop: Called when the Activity is no longer visible to user. Because it is being destroyed or another activity has been resumed. Followed either by onRestart() if the activity is coming back to interact with the user, or by onDestroy() if this activity is going away.
  26. 26. Life-Cycle of Activity● onDestroy(): Called before the activity is destroyed Final call that the activity will receive

×