Play with Android

Operations in Android

On AT91SAM9M10G45-EK and AT91SAM9M10-EKES board:

  • BP3 joysticks maps UP, DOWN, LEFT, RIGHT, OK
  • BP4 maps to MENU
  • BP5 maps to BACK
    AT91SAM9M10-EKES

On AT91SAM9X5EK board:

  • K1 maps to BACK
  • K2 maps to HOME
  • K3 maps to MENU
  • K4 maps to POWER
    sam9x5_board_updated.PNG

Input text

  • 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.

    input_text_Android2.3.5_r1.png

Change Settings

  • In Home Page Screen, press MENU button. A menu pops up: Select the “Settings”

    popup_setting_selection.png

    Settings_Main.png

Ethernet configure

  • In Settings, you can configure the network interface to use DHCP or Static IP.

    turnon_ethernet.png

    ethernet_dhcp.png

Multimedia

Play Music

  • In Home Page Screen, select Music icon. Then Music Screen will pop up

    Music_Songs_list.png

    Playing_Music.png

View Photos

  • In Home Page Screen, select Gallery icon. Then Gallery Screen will pop up if your inserted SD card has pictures

    Pictures_list.png

    Open_One_picture.png

Play Videos

Please take the following steps as a reference to play the video clips in your SD card

  • Power up the Android the system
    Desktop-2.3.5_r1.png

  • Click the Gallery icon, the gallery application will start to run
    Gallery_Main_Android2.3.5_r1.png

  • Click the folder you want and choose the video file you want to play
    Gallery_Folder_Android2.3.5_r1.png

Application Development In Android

Introduction

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.

Quick Start

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 Version
Supported Operating Systems Windows XP (32-bit)
Linux (tested on Ubuntu 10.04)
Java Development Kit JDK 6 (JRE alone is not sufficient)
IDE Eclipse IDE
  • Eclipse 3.6 (Helios SR2 Classic)
  • Eclipse JDT plugin
  • Android SDK android-sdk_r16

    Download and install

    Install the ADT Plugin for Eclipse

    If you use Eclipse, setup a remote update site https://dl-ssl.google.com/android/eclipse/. Install the Android Development Tools (ADT) Plugin, restart Eclipse, and set the "Android" preferences in Eclipse to point to the SDK install location.
    install_ADT.PNG

    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.
    ADD_platform_tools_into_SDK.PNG

    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, Requirements, FlashPreBuildDemo, GettingStarted

    r6 - 31 Dec 2011 - 05:56:45 - VoiceShen
     
    Android4SAM

    Copyright by the contributing authors. All material on the platform is the property of the contributing authors.

    Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions

    Atmel and others, are registered trademarks or trademarks of Atmel or its subsidiaries.This site is powered by the TWiki collaboration platform

    ARM and others are registered trademarks or trademarks or ARM Ltd. Other terms and product names may be trademarks of others.

    Under the terms of the Creative Commons Attribution License

    Syndicate this siteRSS ATOM