Send Location Data to OpenGTS from Android

3.8k views Asked by At

We would like to create an android app, that sends the location of the phone every "x" Minutes to an OpenGTS Server.

Therefore we already installed the OpenGTS Server an testet the functionality with a free app, that can be found in the play store.

For the next step, we would like to integrate this functionality into our company app. Unfortunately we can't find any code that can help us developing this.

There are some requirements for our app:

  • The user should not be able to disable GPS
  • The location of our device should be send every x Minutes
  • If there is no available internet connection, the locations should be saved locally and afterwards send to the OpenGTS Server.

Is there any SDK or OpenSource Project where we can find code, that could help us with our project?

Thanks for your help

1

There are 1 answers

2
Anton Tananaev On

You can use Traccar Client app. Source code for Android version can be found on GitHub.

I'm not sure if OpenGTS supports it by default, but you can always integrate Traccar GPS tracking server with OpenGTS.