Using animation to test your Android application

The animation feature can be used to test your Android application when running it with the Android simulator.

Procedure

  1. The animation feature uses the TCP/IP protocol. To enable use of this protocol with your Android application, open the AndroidManifest.xml file and on the Permissions tab add a Uses Permission for android.permission.INTERNET.
  2. Verify that for the relevant IBM® Rational® Rhapsody® configuration, the Instrumentation Mode (on the Settings tab of the Features dialog) has been set to Animation. If not, change the setting to Animation and regenerate all of the code.
  3. Run the Android application with the Android simulator as you would ordinarily.
  4. The AnimationManager tab contains the Rational Rhapsody buttons for controlling animation. Use these buttons as you would with any Rational Rhapsody application.

Feedback