Self-Hosted GPS Tracker for Android
You need a self-hosted web server on which you're allowed to install this kind of script which records GPS coordinates (latitude, longitude) : https://github.com/herverenault/Self-Hosted-GPS-Tracker/blob/master/server-side/gps.php
Then, do what you want with those coordinates. It's *your* data.
For example, you can put these PHP scripts on your server in order to show your family or friend where you are on a Google map : https://github.com/herverenault/Self-Hosted-GPS-Tracker/tree/master/server-side
It may be useful, for instance, if you're alone doing sport in an isolated area : in case of emergency (injury or failure), your family may locate you easily on the map. Provided you have GPS signal and data connectivity (4G, H+, 3G, EDGE...).
This app is NOT meant to be a stealth tracker, or to be forced upon a user. So, please don't ask me how to hide it from the user, or how to prevent the user from closing the app.
I put a demo on http://herverenault.fr/self-hosted-gps-tracker/demo/i-am-here
To see your position on this page, enter http://herverenault.fr/gps in the app on your phone (or tablet). It's an anonymous URL, so if you're not the only one doing it, you may see the location of another anonymous user.
Side-note: There are plenty of apps which do the same, for example Open GPS Tracker. But I wanted an app
* which sends my position to my server, and only my server
* which does not download any map on my phone and thus does not go over my 3G plan
* the most simple ever : just enter URL, enable 3G and GPS and go !
And then, I wanted to do it just for fun. If you're interested in it, source code in available on https://github.com/herverenault/Self-Hosted-GPS-Tracker under Free Software license GPL v3.
This is not a product, I don't sell it, there's no ad. It's only code sharing. Enjoy.
Developer designed the app as described.
Thanks a ton! Feature request: Option to cache locations to be sent later in case of http failure. This would greatly expand possible use cases (e.g. bad reception, or travel log without roaming data)
Havent tried the server side stuff yet but before I do is it possible to track multiple devices simultaneously using this GPS tracker? I help run a charity event and have been looking at ways to track peoples progress in real time. If the server can be configured to show multiple devices simultaneously it would do exactly what I need it to do.
bro can this app run when the android sleep?? because its always show text tracker is enable when my phone on.. thx before
Awesome. Just what I needed to get my home automation project up and running!
This is exactly what I was looking for!! Super easy to implement, gives me the GPS coords to whatever I want with. I got a cool project I want to see if I can create. :)
Just the thing i was looking for. Could you please add an optional identifier as a parameter.
How do you set up the server
Really, really good app.
Awesome app.
exactly what I need
Thank you for the app. However, if you are planning to add new features, here are a few suggestions: 1. Send custom params based on user settings 2. Option to choose request type GET|POST 3. When offline and tracking is on, data should be gathered and then posted when connection is available.
Had been searching for this since a long time, Really nice work!
Hello the owner of this app, can i get you email so tht i can ask you some questions regarding of this marvelous app?
esta genial, lo monte en 5 minutos y va muy bien!! d(^_^o)
I have installed it... And in the android tablet ( samsung tab3) it shows network on gps enabled... I wrote a jsp to record and render the data.... From the android browser if i launch and send dummy data it is working fine. But the app is not forwarding that data. Note: the jsp code is working fine and it takes the input as get ie., lat=...&lon=... there is no request from the application Then the final action that was needed is to stop and start the tracker... Viola.!!! All started working fine... The hack to the users would be if you see a cursor in the url box it will not forward :) Loving this app...
Thank you for the app. However, if you are planning to add new features, here are a few suggestions: 1. Send custom params based on user settings 2. Option to choose request type GET|POST 3. When offline and tracking is on, data should be gathered and then posted when connection is available.
great if you could password protect app from been disabled, great piece of kit, but the user could simple disable the app and then no data would be sent, can you add a password protection to the APP? CHEERS
Awesome!
Really simple and does what it has to. I can't even undersand why there are no more apps like this. Suggestion: it would be really awesome and helpful if the app would append other useful info to the URL like battery status (e.g. &bat=90). This wouldn't break anything, it's just there to use whoever needs it. This could be optional based on a setting but if it is always there, it doesn't hurt anyone. Thanks for the app!
Can this app work at background and remotely on gps. Have setup everything but cant receive data.
I tried setting it on my server but the gps.php did not receive any parameter.Please help.
As a web site developer, this is the perfect app. It logs my current GPS position on my own server exactly as described. I wrote my own pages that use the data and display my data on a Google map. Just what I needed!!
I'm planning to integrate the app with my own map.
Hello, i'm not getting lat & lon. I have logged $_GET array and it gives me: $_GET["tracker'] = start when i start the service or $_GET["tracker'] = stop when i stop the service
Does exactly as it says. Congratulations. I loved it. Only changed "write" to "append" so I get the track. One minor change could be the sending of a "id". So it would possible to differentiate two or more devices that operate (and send gps info) simultaneously.
But I hope to see the following in the new updates so that we can use it more professionally for example to monitor a team in a working environment. 1) Auto Start and works in background 2) Infinite max hours.(Tracking continuously) 3) need to be able to send an id so server knows which device is sending data. 4) if possible send authentication code Apart from these this apps is perfect. Thank you.
Worked the first time I tried. Thank you, I've been trying to find an app to do just this.
But I hope to see the following in the new updates so that we can use it more professionally for example to monitor a team in a working environment. 1) Auto Start and works in background 2) Infinite max hours.(Tracking continuously) 3) need to be able to send an id so server knows which device is sending data. 4) if possible send authentication code Apart from these this apps is perfect. Thank you.
Does exactly as it says. Congratulations. I loved it. Only changed "write" to "append" so I get the track. One minor change could be the sending of a "id". So it would possible to differentiate two or more devices that operate (and send gps info) simultaneously.
Worked the first time I tried. Thank you, I've been trying to find an app to do just this.
by S####:
Does exactly what it is supposed to, no bullshit. The idea of the self hosted web interface is excellent. No stupid "cloud" and "share with your friends on whatever platform.