Installing Moseycode 0.2.1

Below are instructions that will help you successfully install Moseycode into an Android emulator.

Installing The Application

  1. Download and install version m5-rc15 of the Android SDK.
  2. Download the Android package file for Moseycode version 0.2.1 moseycode-0.2.1.apk.
  3. Within your Android installation directory type:
    tools/adb install path-to-apk
    where path-to-apk points to the .apk file downloaded in the previous step.
  4. The Moseycode application should now be available under the Applications icon in the Home application.
  5. Launching Moseycode will present the main selection activity. From here you should open the Settings activity and customize the Moseycode application for your system. If you attempting to scan a barcode without having opened the Settings activity, it will be automatically opened for you.

Configuring The Application

It is possible to access the Moseycode settings at any time, either from the launch screen or by opening the menu in the barcode scanning view. To use Moseycode interactively requires a webcam, and software to broadcast images from the webcam. The settings allow you to specify the address at which the webcam software is serving images.

Full guidance on using and configuring Moseycode is available as online help within the application. For convenience, this help is reproduced in full on this website. Please consult it for help with running Moseycode; a collection of known issues is also maintained as part of that documentation.

Installing the Launch Demo

This release of Moseycode includes an application that demonstrates how to use Moseycode programmatically from other Android applications. Use the instructions below if you need guidance on installing and using the application.

  1. Download the Android package file for the "Moseycode Harness" moseycode-harness.apk.
  2. Within your Android installation directory type:
    tools/adb install path-to-apk
    where path-to-apk points to the .apk file downloaded in the previous step.
  3. Restart the emulator. The Moseycode harness should now be available under the Applications icon in the Home application.
  4. Launching the harness should present you with:
    • A gallery of image sources for scanning with the Moseycode application (demonstrates the possible action data values)
    • Options for what information the application should return and what should be displayed to the user during scanning (demonstrates the SCAN_XXX_EXTRA properties).
    • A button to invoke the scan (demonstrates the SCAN_BARCODE action)
    • A button that displays the barcode history provided by the Moseycode application (demonstrates use of the VIEW_ACTION).
    • A button that displays a history generated from the Moseycode application data (demonstrates use of ContentProvider).
  5. To learn how to use Moseycode from your own Android applications, download the complete sources for the harness, and consult the Moseycode Intents and Content Providers documentation.