Tutorials
iOS
1. HelloWorld
Simple HelloWorld application for iOS.
2. HelloWorld (Fullscreen)
Simple HelloWorld application running in fullscreen mode.
3. HelloWorld (Auto-Rotate)
HelloWorld application that rotates depending on device orientation.
4. HelloWorld (Landscape)
HelloWorld application that runs in landscape mode.
5. AutoResize
Use iOS' builtin mechanism for auto-resizing widgets when device orientation changes.
6. Relayout
Programmatically change the layout when device orientation changes.
7. Drawing
Simple drawing example.
8. MultiTouch
A simple multi-touch example. Fingers placed on the screen are tracked while being moved.
9. SayHello
Lets the user enter a name and upon pressing a button, the name will be set as a greeting in a label.
10. Widgets
Application to demonstrate the various UI components of iOS visually
11. Dialog
Use a modal dialog to let the user edit a name.
12. TabBar
Example for a UITabBarController that allows the user to select between different tabs.
13. Stack
Example for a UINavigationController that implements a stack of views.
14. List
Example for a UITableViewController that implements a list of items.
15. Map
Example for a MKMapView showing a map of San Francisco.
16. Accelerometer
Display the current (x, y, z) accelerometer values as text labels.
17. Gyroscope
Example to demonstrate receiving Gyroscope updates in iOS
18. GPS
Display the current longitude/latitude values of the GPS as text labels.
19. Camera
Example to demonstrate use of Camera resource in iOS
20. Sound
Example to illustrate AVAudioPlayer for audio playback.
Android
1. HelloWorld (prog)
Simple HelloWorld application for Android. Implementation without any layout resources.
2. HelloWorld (decl)
Simple HelloWorld application for Android. Implementation using a simple layout resource to declare the content view.
3. HelloWorld (fullscreen)
Simple HelloWorld application for Android. Implementation using a simple layout resource to declare the content view being showed in fullscreen mode without title bar.
4. HelloWorld (portrait)
Simple HelloWorld application for Android. Implementation using a simple layout resource to declare the content view being showed. The orientation is locked to portrait mode.
5. HelloWorld (landscape)
Simple HelloWorld application for Android. Implementation using a simple layout resource to declare the content view being showed. The orientation is locked to landscape mode.
6. HelloWorld (i18n)
Simple HelloWorld application for Android. Implementation using a simple layout resource to declare the content view being showed. Application name and the greeting text are defined by String resources to support internationalization
7. Layout (linear)
A simple Android application demonstrating layout capabilities using a LinearLayout.
8. Layout (relative)
A simple Android application demonstrating layout capabilities using a RelativeLayout.
9. SayHello (prog)
A simple Android application demonstrating simple event handling with a button as well as accessing UI widgets. The application is implemented without declaring layout resources.
10. SayHello (decl)
A simple Android application demonstrating simple event handling with a button as well as accessing UI widgets. The application is implemented declaring a layout resources which also declares the Button's event handler.
11. Widgets
Application to demonstrate the User Interface widgets in Android
12. MultiTouch
A simple multi-touch example. Fingers placed on the screen are tracked while being moved.
13. Drawing
A simple Android application demonstrating drawing capabilities using the Canvas and Paint classes.
14. ActivitySwitch
A simple Android application demonstrating switching between activities with the called activity providing a result to the calling activity. Additionally the application facilitates a BackKey handler.
15. Menu
A simple Android application demonstrating creating and handling option menus.
16. TabBar
A simple Android application demonstrating creating and handling TabBars to navigate through the application.
17. List
A simple Android application demonstrating using ListActivities and ArrayAdapters.
18. Map
A simple Android application demonstrating using MapActivity from the Google Android API.
19. Accelerometer
A simple Android application demonstrating how to get the accelerometer sensor readings.
20. Gyroscope
Simple Android aplication to demonstrate use of Gyroscope sensor in android.
21. GPS
A simple Android application displaying the current longitude and latitude.
22. Camera
Simple Android aplication to demonstrate use of Camera in android
23. Sound
Simple Android aplication to demonstrate use of MediaPlayer for audio playback.
  • Slides
  • Source Code
  • Code 1
  • File 2