Practical Programming on Android

Practical Programming on AndroidWhat is Android
• Linux kernel and Dalvik virtual machine, application runs in process
• Develop in Java source code, compiled to Dalvik bytecode
• Java 5: annotations, generics
• You can use regular debugger in Eclipse with Android plugin
• NextAction – started in october 2008, todo lists
• Google developer phone - synchronisation Gmail and contacts, Google calendar
• Android is attractive for developers:
• Java source code, familiar development environment
• Open platform


UI
Layout widgets
- AbsoluteLayout – x/y coordinates, inflexible
- LinearLayout – horizontal/vertical, simple, flexible
- RelativeLayout – position relative to other components, flexible, more complex
- TableLayout – rows/columns
View components:
List
Button
Text view/edit
Spinner
Google map, and more…

Navigation
With parameters
Bundle bundle = new Bundle();
bundle.putString(”myparameter”, “Hello world”);
intent.putExtras(bundle);
You can use Parcelable interface to add other classes to bundle.

Website: static.kazed.net | Filesize: 334kb
No of Page(s): 19
Click here to download Practical Programming on Android.

Related Copyrighted Books
Pro AndroidPro Android
Web Geek''s Guide to the Android-Enabled PhoneWeb Geek’’s Guide to the Android-Enabled Phone
The Busy Coder''s Guide to Android DevelopmentThe Busy Coder’’s Guide to Android Development
The Busy Coder''s Guide to Advanced Android DevelopmentThe Busy Coder’’s Guide to Advanced Android Development
ANDROID A PROGRAMMERS GUIDEANDROID A PROGRAMMERS GUIDE

Related Tutorial

Tags: , , , , ,

Comments

Leave a Reply