I need a small background app which will log the location of the phone periodically (every 15 minutes) to a log file.
The location can be accurately obtained by GPS (wherever signal available) or could be approximated from the network.
The log file should not be editable by the user. The background service should not be accessible to the user to stop it. It should start at device booting and stop at shutdown.
Log file has to be uploaded to a server every 24 hours. (for testing you can use some free file uploading site)
Source code need to be well documented with details of what task every routine is performing.
Preferred language: C++ or Java