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