O'Reilly logo

Android 3.0 Animations by Alex Shaw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—learning to count with the counting calculator

We'll get started by trying out the counting calculator right now!

  1. Get the example android project, CountDroid, from the code bundle and compile it to an Android APK for deploying to a device.
  2. You can build it either straight from the command line using Ant, or import it into Eclipse using Existing projects into workspace from the Import... dialog.
  3. Download the APK you built to your favorite emulator or Android device, and launch the Counting Calculator activity.
  4. Wait for the calculator to appear. Notice that whenever something happens, it is animated:
    Time for action—learning to count with the counting calculator
  5. Press a number key and watch what happens. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required