Testing Android Hybrid Web Containers

After making any customizations to the provided Hybrid Web Container source code, you should test the changes before using the application.

Note: The steps or interface may be different depending on which Android SDK version you are using.

This procedure assumes that you are using Eclipse.

  1. Create a new Android virtual device.
    1. a. Open the Android SDK Manager. If you are using Eclipse choose Window > AVD Manager.
    2. b. Select Tools > Manage AVDs.
    3. Click New.
    4. Enter a name for the device and select Android 2.2 as the target.
    5. Click Create AVD.
  2. Create a debug configuration for Android applications.
    1. In Eclipse, in WorkSpace Navigator, right-click the Hybrid Web Container project and select Debug as > Debug Configurations.
    2. Right-click Android Application.
    3. Click Target.
    4. In Deployment Target Selection Mode, select Manual and click Debug.
      In the future you will only need to right-click the project and choose Debug As > Android Application.
    5. In the Android Device Chooser, select Launch a New Android Virtual Device (AVD) and select the AVD you created in step 1.
    6. Click Start.
    7. Click Launch.
      The Hybrid Web Container automatically launches when the emulator is fully started.
Related tasks
Building the Android Hybrid Web Container Using the Provided Source Code
Related reference
Android Hybrid Web Container Customization