Example: Using accelerometer values in picture navigation

This example MIDlet shows you how to receive accelerometer values and use them to navigate a picture.

Figure: Cottage360 MIDlet

Prerequisites

You need the following to develop and test this MIDlet:

  • Nokia SDK 2.0 for Java or S60 5th Edition SDK or newer

  • Java Runtime 2.0.0 for Series 40 or S60 5th Edition device or newer

For instructions on how to set up the Java ME development environment, see section Setting up the development environment.

Development

For more information about the MIDlet, see:

  • Design for information about the design and functionality of the MIDlet

  • Implementation for instructions on how to implement the MIDlet

You can download the project files for the MIDlet from the download page.