This is the OwnTracks Android app. For setup instructions and documentation see general OwnTracks wiki.
The application can be installed from Google Play.
To build a development version of the app from source, follow the instructions outlined below.
-
Download and install Android Studio
-
Clone the project or a fork of it to your local development machine
-
Import the project into Android Studio
-
Sync Project with Gradle files to download all the dependencies
-
Open the SDK manager to install the required Android SDK Tools and Android SDK Build-tools
-
The project contains a preconfigured keystore to sign debug builds. If you already have a custom keystore you can specify it in project/app/build.gradle android.signingConfigs.debug
-
Required: Create a custom Google Maps API Key The provided Google Maps API Key is tied to our signing key, so it cannot be used with the debug keystore
- Go go to https://developers.google.com/maps/documentation/android/start
- Scroll down to Obtain a Google Maps API key and follow the instructions
- If you use the preconfigured debug keystore, enter
BC:CF:16:C8:4B:5E:5D:2D:DA:B7:35:FF:2A:53:CF:89:83:C2:D9:65;org.owntracks.android.debug
- If you use a custom keystore run
keytool -list -v -keystore $PATH_TO_YOUR_KEYSTORE.jks
and replace BC:CF:...:D9:65 with your SHA1 fingerprint - Create the directory
project/app/src/main/res/values-v1/apis.xml
- Copy
project/app/src/main/res/values/apis.xml
toproject/app/src/main/res/values-v1/apis.xml
- Replace the API key in
project/app/src/main/res/values-v1/apis.xml
with the generated API key
-
Build the project