Create an Android APK like GPS Emulator with less features.

Job ID: 33813434

Budget: €30 – €250 EUR

#Create an Android APK like GPS Emulator with fewer features.

I want an application like:

https://m.apkpure.com/gps-emulator/com.rosteam.gpsemulator

It should work like this:

## Step 1
Once started, check if the application is the "mock location app" if not, display an error message saying this you must select the application as Mock location, with a button to go to the proper developer setting (like com.rosteam.gpsemulator do)

if the application is the mock location app:
## Step 2

The main Activity displays a superficial view, showing the current emulated GPS position data: longitude latitude, precision...
add some buttons to change this position by hand.
Add whatever makes sense on this page.

This Activity is mainly for debugging purposes.

## Step 3

Once started, the application starts a LocalSocket named 'GPS' waiting for an incoming connection.
Once a client is connected to this socket, wait for text messages ending with \n.

Accepted commands are:
* setpostion latitude longitude [accuracy]

ex: "setpostion 48.856613, 2.352222\n"
Will set GPS position to Paris

ex: "setpostion 48.856613, 2.352222 12.5\n"
Will set GPS position to Paris with an accuracy of 12.5 meters.

* getpositon
Retrieve the current GPS position:
return "48.856613, 2.352222 12.5\n"

At the first startup, the current position can be 0,0, with an accuracy of 0 in the next startup; the current position is kept from the last used one.

## Notes

- the project will be provided with its source code on a private Github repository.
- It's important for us that the code is easy to read.
- the project can be written in java or Kotlin.