You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Mendhak aee11c16b2 Minimum accuracy and 50 retries 10 years ago
.idea Minimum accuracy and 50 retries 10 years ago
GPSLogger Minimum accuracy and 50 retries 10 years ago
.gitattributes Add OpenGTS support, and refactoring 10 years ago
.gitignore Fixed version and test pom 11 years ago
README.md Instructions on setting up the code. Closes #109 10 years ago
gpslogger-parent.iml Reset IntelliJ JDK version 11 years ago
pom.xml Removed Maven test project 11 years ago

README.md

Can you help with translations?

GPSLogger

Read about GPSLogger here

You can search for the app on the Android Market: "GPSLogger for Android" by mendhak

You can bypass the market and get the APK yourself: Download here

Licensed under GPL v2.

Setting up the code

These instructions are specific to Ubuntu, feel free to adopt and document it for your own OS and IDEs

Set up your Android Development Environment

Follow the instructions on the Android Developer Website to set up your computer for development.

IntelliJ IDEA

Download and install IntelliJ IDEA Community Edition, which is free. I am choosing to use this instead of Eclipse.

Git

sudo apt-get install git

Clone the repository

git clone git://github.com/mendhak/gpslogger.git

Maven dependencies

The project comes with a pom.xml file which IntelliJ IDEA recognizes by default (it comes with an enabled Maven plugin). It will download and import the class libraries for you.

Test.xml

Create a test.xml in the project at res/values/test.xml

This file will be used to store OAuth keys. This file is ignored in the .gitignore file and will not be committed.

OpenStreetMap Setup (Optional)

Sign up for an account with OpenStreetMap and log in.

Click on 'oauth settings'

Click on 'Register your application'

Fill in the form with these details

Oauth settings

After registering the application, you will receive a 'Consumer Key' and a 'Consumer Secret'. Place the keys in your test.xml like this:

<string name="osm_consumerkey">ABCDEF</string>
<string name="osm_consumersecret">GHIJKLMNOP</string>

Dropbox Setup (Optional)

Sign up for an account with Dropbox.com

Go to the Dropbox Developers page and click on 'Create an App'

Use these settings, but choose a unique name

Dropbox settings

After creating the app, you will receive an app key and secret (the ones in the screenshot are fake)

Dropbox settings

Add the Dropbox app key to your test.xml file

<string name="dropbox_appkey">12341234</string>
<string name="dropbox_appsecret">abcdabcdefg</string>

Replace the Dropbox app key to your AndroidManifest.xml file

<!-- Change this to be db- followed by your app key -->
<data android:scheme="db-12341234"/>

Google Docs/Drive Setup (Optional)

Go to the Google APIs Console and create a new project.

After registering a project, click on API Access and click the 'Create another Client ID' button

Grab the Client ID and Client Secret and add them to the test.xml file

<string name="gdocs_clientid">123412341234</string>
<string name="gdocs_clientsecret">123412341234</string>