10-13-2009 12:27 PM
Here my problem, i wrote a program to geolocation BB phone on road and calculate de miles driven. To do this I use a location provider that send me a position, at second, and a calculate de distance between each position. It work perfectly except that after 7 hours ago I have no battery. It worst if the provider fail to find a position because I reset the provider immediatly and restart the provider.
I need acurate position a quick as possible(TTFF) and have an high ratio of position to calcul the distance, also I need the battery stay alive for 12 hours, so what suggestion do you have ?
10-13-2009 12:28 PM
Here some more info,
The JDE I use is 4.5.0 because I work on BB8830, Curve, Bold8900, Tour and Storm.
10-14-2009 10:02 AM
10-14-2009 10:15 AM
P.S. I actually had A-GPS in mind, or a provider that combines the network-based location with GPS-provided location to increase the precision (not sure if something like this would actually work).
10-14-2009 10:30 AM
At the DevCon 2008, they recommended 10 seconds or less as the best time period for getting GPS locations that minimized the drain but kept the chip hot. Using that I'm lucky if I get a day out of a battery. let alone 7 days.
Also I've done a bit of work on the accuracy of GPS. I would be very suspicious of any Tracking that accumulated the distance moved in every GPS reading that it took. I'm sure you have all seen how your GPS location can move around even when you are stationary. We attempted to overcome this problem by comparing current readings and previous ones and only accepting a new location when the distance seemed reasonable given the time period involved. That works OK, better than nothing at all anyway. But it is non trivial.