Play with Android
Operations in Android
On AT91SAM9M10G45-EK and AT91SAM9M10-EKES board:
- BP3 joysticks maps
- BP4 maps to
- BP5 maps to
On AT91SAM9X5EK board:
- K1 maps to
- K2 maps to
- K3 maps to
- K4 maps to
- In Android, if the current focus is on an input box, a soft keyboard will be shown. Then you can click the keyboard to input text.
- In Home Page Screen, press
MENU button. A menu pops up: Select the “Settings”
- In Settings, you can configure the network interface to use DHCP or Static IP.
- In Home Page Screen, select Music icon. Then Music Screen will pop up
- In Home Page Screen, select Gallery icon. Then Gallery Screen will pop up if your inserted SD card has pictures
Please take the following steps as a reference to play the video clips in your SD card
- Power up the Android the system
- Click the Gallery icon, the gallery application will start to run
- Click the folder you want and choose the video file you want to play
Application Development In Android
After you have the demo running, you can write applications for Android now. This section describes how to write Android application using the Android SDK.
Prepare Development Environment
Make sure that your workstation meets the software requirements. Install any additional software needed before downloading the Android SDK. In particular, you may need to install the JDK and Eclipse. More detail information, please reference http://developer.android.com/sdk/requirements.html
| System Requirements
| Supported Operating Systems
|| Windows XP (32-bit)
Linux (tested on Ubuntu 10.04)
| Java Development Kit
|| JDK 6 (JRE alone is not sufficient)
|| Eclipse IDEEclipse 3.6 (Helios SR2 Classic)Eclipse JDT plugin
| Android SDK
Download and install
Install the ADT Plugin for Eclipse
If you use Eclipse, setup a remote update site
. Install the Android Development Tools (ADT) Plugin, restart Eclipse, and set the "Android" preferences in Eclipse to point to the SDK install location.
For detailed instructions, see ADT Plugin for Eclipse
Add Android platforms and other components to your SDK
Use the Android SDK and AVD Manager, included in the SDK starter package, to add one or more Android platforms (for example, Android 2.3.3 for API level 10) and other components to your SDK.
If you are not sure what to add, see Which components do I need
To launch the Android SDK and AVD Manager:
- on Windows, execute
SDK Manager.exe, at the root of the SDK directory.
- On Linux, execute the
android in the <sdk>/tools/ folder.
For detailed instructions, see Adding SDK Components
For a more detailed guide on installing and setting up the SDK, see http://developer.android.com/sdk
Develop "Hello World" application on SAM9 EK board
Program the "Hello World" project in Eclipse
- Follow the Android official web here to write your first famous "Hello World" application.
Run "Hello World" application
- Successfully run Android demo on EK board.
- Make sure the adb function works well.
- Setup the "Hello World" application usb adb.
- On the main screen to start the "Hello World" application.
See also: AndroidRootfs