Android Framework

25,801 views

Published on

Slides by Aaron Chan and Jerry Lim

Published in: Technology, News & Politics
2 Comments
7 Likes
Statistics
Notes
No Downloads
Views
Total views
25,801
On SlideShare
0
From Embeds
0
Number of Embeds
126
Actions
Shares
0
Downloads
542
Comments
2
Likes
7
Embeds 0
No embeds

No notes for slide

Android Framework

  1. 1. 3rdCodeAndroidMeetup– <br />Understanding Android Basics and Development<br />Google, Temasek Tower, 8 Shenton Way<br />25th May 2009<br />2 pm<br />
  2. 2. CodeAndroid.org<br /><ul><li>Android Developer/User Group
  3. 3. Grassroots effort by developers
  4. 4. Promote Android development around this region</li></li></ul><li>CodeAndroid.org<br />Special thanks to <br />Google Singapore for the space and keeping us well replenished!<br />HTC Singapore for the goodie bags! <br />(Given out at end of session Q&A)<br />
  5. 5. Today’s Agenda<br />Android Frame&quot;Works&quot; – What&apos;s the importance and how to use them? - by Jerry Lim and Aaron Chan<br />Intents, Intent Filters, Broadcast Receivers- by Muh Hon Cheng<br />Test Driven Development on Android, Part 1 - Building Blocks of TDD - by Wade Mealing<br />Bluetooth-enabled apps using NDK 1.0 - for non-rooted phones - by Stephan February<br />Quiz (and goodie bag time!)<br />Network and chitchat<br />Home sweet home<br />
  6. 6. Android Frame&quot;Works&quot; – What&apos;s the importance and how to use them? <br />- by Jerry Lim (SBS Next Bus) and Aaron Chan (MobileSorcery)<br />
  7. 7. Android System Architecture <br />Application Layer<br /><ul><li>Highest Layer in the Architecture
  8. 8. Built-in standard applications</li></ul> -Phone Dialer<br /> -Email<br /> -Contacts<br /> -Web Browser<br /> -Android Market<br />
  9. 9. Application Framework<br />The most important part of the framework are as follows:<br /><ul><li>Activity Manager
  10. 10. Resource Manager
  11. 11. Location Manager
  12. 12. Notification Manager</li></li></ul><li>Process!=Application<br />Lifecycle of the rich and famous<br /><ul><li>Each Activity has it own Lifecycle
  13. 13. Application is one or more Activities
  14. 14. Activity lifecycle is not tied to process
  15. 15. Application can be “Alive” even when process</li></ul> has been killed<br />
  16. 16. Life Cycle in an Android Activity<br />
  17. 17. Life Cycle in an Android Activity<br />@override these methods in your Activity class, and Android will call them at the appropriate time<br /><ul><li>onCreate(Bundle): This is called when the 1st Activity Startsup
  18. 18. onStart(): This indicates the activity is about to display to the user
  19. 19. onResume(): This is called when the activity can start interacting with the user</li></li></ul><li>Life Cycle in an Android Activity<br /><ul><li>onPause(): This runs when and activity about to go to the background
  20. 20. onStop(): This is called when the activity is no longer visible to the user
  21. 21. onDestroy(): This is call right before your activity is destroyed, if memory is tight onDestroy may never be called (The system will may terminate you process) </li></li></ul><li>
  22. 22. Join Us!<br /><ul><li>Website: http://www.codeandroid.org/
  23. 23. Facebook: Google Android Developer/User Group Singapore
  24. 24. Google Groups: http://groups.google.com/group/WeCodeAndroid
  25. 25. IRC community: #codeandroid on irc.freenode.net (server)
  26. 26. Twitter: http://www.twitter.com/codeandroid</li>

×