How to build OpenSatNav from source

Created by Kieran Fleming on on 2010-03-22
Keywords:
developer android bazaar
Last updated by:
Guillaume Rosaire on on 2010-12-06

You need to install:
* Eclipse
http://www.eclipse.org/downloads/
(Get "Eclipse IDE for Java Developers")
* Android SDK
http://developer.android.com/sdk/installing.html
* Eclipse Android integration
http://developer.android.com/sdk/installing.html#InstallingADT

If you want to run the program on your phone, you need to set it up:
http://developer.android.com/guide/developing/device.html#setting-up

If you want to run the program in an emulator, you can create a phone image by going to Window > Android SDK and AVD manager from within Eclipse

To get the code, run the command:
bzr branch lp:opensatnav

This will create an 'opensatnav' folder in the location that you ran the command.
Now that you have the required software and the code, let's run it!
* Start Eclipse
* Go to File > Import > Existing projects into workspace
* Browse to where you put your code
* Go to the Run menu, then choose either Run or Debug
* Eclipse will either start the emulator or install the program to your phone.