Programming Android

3,312 views

Published on

Overview of developing Android applications.

0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,312
On SlideShare
0
From Embeds
0
Number of Embeds
34
Actions
Shares
0
Downloads
188
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide

Programming Android

  1. 1. Development for Android <br />Lars Vogel<br />http://www.vogella.de<br />
  2. 2. The next 30 minutes<br />Android overview<br />Android Tool chain<br />Demo<br />
  3. 3. Android<br /><ul><li> Develop in Java
  4. 4. Not Java ME!!
  5. 5. Open </li></ul>iPhone<br /><ul><li> Develop in ObjectiveC
  6. 6. Closed</li></li></ul><li>
  7. 7. Java API for creating application on top of the Android runtime<br />
  8. 8. Android Applications consists out of 4 parts:<br /><ul><li> Activity
  9. 9. Intent / Broadcast Receiver
  10. 10. Services
  11. 11. Content Provider </li></li></ul><li>Activity - A screen in the Android application<br />
  12. 12. Activity<br />Behavior in Java code<br />Predefined anchor points (methods which can be overriden) to add behavior<br />ScreenLayout mainly created via XML via a WYSIWYG editor<br />
  13. 13. Intent / Broadcast Receiver – <br />Asking / Providing for funcationality<br />Services – <br />Running in the background<br />Content Provider –<br />Provides data , e.g. via database<br />
  14. 14. Developer Toolchain<br />
  15. 15. Android Development Tools (ADT) for Eclipse<br />Eclipse based tooling<br /><ul><li> Provide the emulator
  16. 16. Wizard for creating new project</li></li></ul><li>Device Emulator<br />QEMU-based ARM emulator runs same system image as device<br />Use same toolchain to work with devices or emulator<br />Takes forever to start… ;-)<br />
  17. 17. Demo<br />
  18. 18. Android Tutorials for self-hacking<br />http://www.vogella.de/articles/Android/article.html<br />http://androidcore.com/<br />http://marakana.com/forums/android/android_examples/<br />Online Documentation<br />http://developer.android.com/reference/packages.html<br />
  19. 19. Futher questions:<br />Contact: Lars Vogel (Lars.Vogel@gmail.com)<br />Homepage: http://www.vogella.de<br />
  20. 20. Credits<br />Several slides and information is taken from <br />http://www.android.com/media/<br />http://sites.google.com/site/io/an-introduction-to-android<br />Picture credits<br />http://www.sxc.hu/photo/338038<br />http://www.sxc.hu/photo/1089869<br />http://www.sxc.hu/photo/130484<br />http://www.sxc.hu/photo/325650<br />http://www.sxc.hu/photo/502161<br />http://www.sxc.hu/photo/502457<br />http://www.sxc.hu/photo/565681<br />http://www.sxc.hu/photo/418215<br />

×