1. A Noob’s Guide to Android Application Development By: Chua Zi Yong Singapore Android User Group www.codeandroid.org BarCamp Singapore 3 28/2/2009
2.
3.
4. Why Android? I am cool! By: Chua Zi Yong Singapore Android User Group www.codeandroid.org
5.
6.
7.
8.
9. How to get started? Fix me! By: Chua Zi Yong Singapore Android User Group www.codeandroid.org
10.
11. “ Deep” Dive By: Chua Zi Yong Singapore Android User Group www.codeandroid.org
12.
13.
14.
15.
16.
17. Set view using ListAdapter (since this is ListActivity) Starting GPS/ntw service Staring the Application: OnCreate Android logging class for logcat on DDMS (debugging) By: Chua Zi Yong Singapore Android User Group www.codeandroid.org “ Deep” Dive
18. Moving to Another Activity Using Intent By: Chua Zi Yong Singapore Android User Group www.codeandroid.org Initialize intent variable: Intent(packageContext, Class) Start activity Add extended content to be passed through intent: putExtra(String name, value) Bonus point: If you intend to end current activity and back to previous, use finish() instead “ Deep” Dive
19. Make sure you stop services that is not needed upon exit! i.e. GPS service will otherwise continue to run in background By: Chua Zi Yong Singapore Android User Group www.codeandroid.org Remember to consider other parts of the lifecycle “ Deep” Dive
20. By: Chua Zi Yong Singapore Android User Group www.codeandroid.org Android Manifest User permission needed Declare activities within the application “ Deep” Dive
21.
22. How to Publish? By: Chua Zi Yong Singapore Android User Group www.codeandroid.org
23.
24.
25.
26. Resources By: Chua Zi Yong Singapore Android User Group www.codeandroid.org
27.
28.
29. Q&A By: Chua Zi Yong Singapore Android User Group www.codeandroid.org ??