Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » UltraLite - Java Programming » Tutorial: Building an Android application

 

Lesson 3: Running your Android application

In this lesson, you run your application through an Android simulator.

Prerequisites

This lesson assumes you have completed all preceding lessons. See Lesson 1: Setting up a new Android project.

 Task
  1. Set up your Android virtual device in Eclipse.

    1. Click Window » AVD Manager.

    2. Click New.

      The Create New Android Virtual Device (AVD) window appears.

    3. In the Name field, type my_avd.

    4. In the Target field, click Android 2.2 - API Level 8.

    5. Click Create AVD.

    6. Close the AVD Manager window.

  2. In the Package Explorer window, select CustDB.

  3. From the Run menu, choose Run As » Android Application.

    The Android simulator loads.

  4. Click Menu.

    Your Android application loads.

Results

The UltraLite application loads in a simulated Android smartphone.