Install to an
Android device

Modified


Installing from Eclipse

Assuming the app has been tested in Eclipse and the Android emulator, installing to a real device is relatively straightforward, requiring a small change in the AndroidManifest.xml file and changes to the real device settings.

These changes are described in:

http://developer.android.com/guide/developing/device.html

Windows

USB drivers are often needed to connect the device to a Windows computer. For the class devices:

Chinese

To use your computer for debugging the Chinese and some other phones, Windows requires a USB driver:

Download http://www.4shared.com/get/0MvyztbR/usb_driver_MT65xx_Android_ZTE_.html

7-zip will open the RAR downloaded.

Device manager - Use usb_driver directory for location

Xoom

Drivers are located at: http://www.motorola.com/Support/US-EN/Support-Homepage/Software_and_Drivers/USB-and-PC-Charging-Drivers

Disconnect the Xoom, install drivers, reboot and reconnect the Xoom.

Be sure to enable debugging on any device by: Settings->Applications->Development->USB Debugging


Installing from adb

Installing using adb is described in:

http://developer.android.com/guide/developing/tools/adb.html

1) Open a terminal window and change to the SDK directory (OSX location: /Developer/SDKs/android-sdk-mac_x86/platform-tools)

2) Determine the device serial number by:

adb devices

List of devices attached
02884180411f62d7 device

3) Install the app on the device by:

adb -s 02884180411f62d7 install /d/C490/Android/HelloWorld/bin/HelloWorld.apk

Downloading from the Web

First allow installation from unknown sources to install your own apps.

Settings | Applications | Unknown Sources

Here is one of our examples (Top 10 iTunes) downloadable from: https://sites.google.com/site/c490android/apps/AndroidITunesListener.apk

If you have a Web site where you can upload the apk file, you're in business.

Upload the apk file from the project bin directory.

Navigate the Android device browser to the uploaded apk and it should download.

If the first time installing an app without a certificate, you will need to grant permission.

Otherwise, https://sites.google.com/site/

Create a site.

Create a new page.

Choose the File Cabinet template.

Navigate to the new page.

Add the apk files.