nickfox / GpsTracker

Google Map Gps Cell Phone Tracker
https://www.websmithing.com/gps-tracker
MIT License
791 stars 580 forks source link

Custom backend / API #9

Open shubhank008 opened 10 years ago

shubhank008 commented 10 years ago

Hello,

Do the web-backend provided has any API or any visible API of how the data is sent from the client mobile app ? I wanted to create a custom backend for a project I have a idea of and require only the coordinates and related gps data from the client side app, in form of a GET or POST request so that I can possibly create my own API and web backend.

Also, is the functionality that does the actual tracking and transmission of data in form of separate class files or method ? Since I want the core tracking and BG tracking functionality but with my own UI and extra features of my idea I want to implement.

Is it possible ?

PS: Really nice project, keep it going. Will donate to support it if my idea gets any spotlight

nickfox commented 10 years ago

Thanks and yes, it is possible to use my project for your custom project. That's really what it's built for. All of the 4 clients (ios, android, windows phone and java me) have exactly the same POST variables and are interchangeable. You can see the required variables here in lines 9- 22:

https://github.com/nickfox/GpsTracker/blob/master/servers/php/updatelocation.php

The android project is the most developed client and has 5 class files. It would be quite easy to change the UI in that project. It actually would be easy to change the UI in any of them.

brentfraser commented 8 years ago

We could consider using GeoJSON so other display clients could be easily used.