I am trying to program a service that sends GPS location data to a server at settable time intervals. Being fairly new to android, this is not turning out as easy as I was hoping and the internet doesn't really seem to be helping me either. The service should...
- Start at boot
- be able to read settings, that are anytime changeable from an activity/app and also apply these settings in real time without having to reboot the phone
- be able to upload the data to the internet (httpRequest)
- Not cause my phone to crash (previous attempts caused my phone to crash)
What is the best solution? What direction should I be heading in?
In terms of the LocationListener itself, what is here the best solution?
Thank you for your help.