Android Connect - Create Test Environment
These instructions assume you have working knowledge of the operating system you will test Android Connect upon.
To test Android Connect for yourself you will need the following:
- Google Android SDK (M5-RC14)
- Java 1.6 or newer Runtime Environment
- Android Connect apk file
- Sample GPS data
- Multiple Android Connect User Accounts.
Minimum System Requirements to run environment on a single computer with multiple emulator instances running:
- Intel Pentium Core 2 Duo 2.0ghz
- 4.0gb of RAM
- 500mb of hard disk space
Note: Alternatively you may use multiple computers with each running its own emulator. Minimum system requirements would be then be a suitable computer to run the emulator.
Install the Java Runtime environment 1.6 or newer from Sun Microsystems.
Install the Google Android SDK M5-RC14 release.
Download and install Android Connect on the Google Android Emulator. The apk file and instructions are in the Handset Application Section.
Register multiple Android Connect User Accounts. We suggest you append a number, NN, to the end of your email name. For example, test01@test.com, test02@test.com, ..., testNN@test.com. You will need more than one account to simulate phones coming into contact with each other.
Create your own GPS data set for each user account. Instructions for creating your own GPS data set is found in the Handset Application Section. Install your first dataset to the emulator.
Run Android connect on the emulator with your first user account to ensure successful connection to the server and correct GPS location transmission.
Next you will need to create multiple emulator image files. The default emulator image is named userdata.img (refer to the emulator documentation for location of the image file as location differs on Windows XP, VistA, and Linux). Copy userdata.img and rename it userdataNN where NN represents the number of the user account.
Note: If you are using multiple computers, you may skip the next step as each emulator will have its own emulator image.
Install the GPS data to the emulator that corresponds to each account. Start a single instance of the emulator with the -data option and supply your userdataNN.img file as the argument. For example, "emulator -data userdata01.img". Then from another command prompt, install the GPS dataset. Shutdown the emulator and repeat the above steps for the rest of the emulator images. Note: If you are using multiple computers, start each emulator normally.
After installing the GPS data for each test instance, run multiple emulator instances by using the -data option like before. This time you will keep the emulator running as you start the next emulator instance.
When all emulators are running, login, start the service, and let the service run. The time for you test subjects to start spreading their smiles depends on the GPS data you used. View their maps in the Map Viewing Section.
Thank you for your interest.