Answer the question
In order to leave comments, you need to log in
How to make a DIY GPS tracker?
Good day to all! There was an idea, but I do not quite understand how to implement it all.
The idea is as follows:
Track the track of the smartphone on which my application is installed, transfer the track to the server and store it on it.
What is required : the length of the track, and in what coordinates it is located.
Where to dig at all and what books to read on a similar topic?
Answer the question
In order to leave comments, you need to log in
You need to receive a GPS signal and transmit it somewhere, you can pre-record and transmit in batches.
the easiest way in the application is to make a ServiceActivity in which there will be a LocationReciver, of course you need the rights to GPS and it should require it to be turned on. Tracks are best stored by date on the sd card - in a popular format. Before saving a point, you need to calculate the distance between neighboring points, and if it is less than NN meters, then do not save it. The length can be calculated as the sum of the distances between every two points - in a cycle.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question