Fork me on GitHub

WordZap

Now on Android !





Installation

Android Handset


  1. Goto Settings -> Application Settings, and enable 'Unknown sources'. This allows you to install Non-Market applications.

  2. Now copy the WordZap APK file from your workstation to your handset through USB/Bluetooth. Alternatively, you can also download it directly from a browser on your handset. Navigate to the APK file on your handset and click on it. Android should automatically install the APK for you.

Workstation

Setting up the Android SDK :

  1. Download the Android SDK.

  2. Follow the steps to Install Android SDK on your workstation.

  3. The Android SDK includes a variety of Custom Tools that help you develop mobile applications on the Android platform. The most important of these are the Android Emulator and the Android Development Tools (ADT) plugin for Eclipse. However, Eclipse is not required to run the WordZap APK file on the Android emulator. The SDK also includes a variety of other tools for debugging, packaging, and installing your applications on the emulator from the command line.

  4. Skip all steps in the Android SDK Installation Tutorial related to setting up Eclipse and the ADT plugin for eclipse - its not required, and look at Adding SDK components. Launch the Android SDK and AVD manager as explained in the tutorial. You need to download at least one platform into your environment, so that you will be able to set up an Android Virtual Device (AVD) to run it on the Android Emulator. To start with, just download the latest version of the platform. WordZap runs on Android 1.6 and above.

Creating an Android Virtual Device (AVD) :

  1. AVDs are configurations of emulator options that let you better model an actual device. You can create as many AVDs as you need, based on the types of devices you want to model and the Android platforms and external libraries you want to use in your application. You can use the GUI in the Android SDK and AVD manager for adding / removing AVDs. This is quick and easy.

  2. You can also create AVDs from the command line.
    Navigate to the <sdk_dir>/tools/ directory.

    If you had installed atleast one Android SDK platform as mentioned earlier, you should be able to get a list of platform targets using the command below.
    $ ./android list targets
    For example, this command on my workstation returns the following.
    $ ./android list targets
    Available Android targets:
    id: 1 or "android-1"
    Name: Android 1.6
    Type: Platform
    API level: 4
    Revision: 1
    Skins: HVGA (default), QVGA, WVGA800, WVGA854
    Now you can use the 'create avd' option to create a virtual device, as shown below. Target ID should be one of the IDs listed as shown above.
    $ ./android create avd --name  --target <target id of new AVD>

Pushing the WordZap APK file to emulator :

  1. Once the AVD is setup, the emulator should be up and running to install the WordZap APK. Navigate to the <sdk>/tools/ directory and start the emulator with the command below.
    $ ./emulator -avd <name>
    This should open the emulator's GUI in a separate window. Wait until the emulator displays the 'Home' screen of your virtual device - This may take a few minutes. You can then use ADB to manipulate this emualtor instance, as shown below.

  2. Android Debug Bridge (ADB) is a versatile tool lets you manage the state of an emulator instance or Android-powered device. For a better picture, skim through the ADB documentation.

    Now open a new terminal window. Navigate to the <sdk>/tools/ directory.
    Get the list of emulator device instances which are connected to the ADB server using the command below.
    $ ./adb devices
    In our case, there is only a single instance running.
  3. Now, install the WordZap APK as shown below.
    $ ./adb install <Path of WordZap.apk file>
    When you install future versions of the WordZap APK, you should reinstall it using the -r option as show below.
    $ ./adb install -r <Path of WordZap.apk file>
  4. Now, goto the emulator window and start the WordZap application from the Applications menu. You should be able to view the opening screen of WordZap in a few seconds.






© 2010 Kowshik Prakasam | Template design by Andreas Viklund