08-03-2012 02:37 PM
08-03-2012 02:43 PM
08-03-2012 02:48 PM
Is there a way to get a location update every few seconds? iOS does this and works extremely well.
I see the navigator.geolocation.watchPosition method, so will test and see.
That's the function you are looking for. It will throw back a watchId value to remove the event if neccessary using the navigator.geolocation.clearWatch(watchId), so eg. if you change the screen and your elements you add values to aren't available anymore the event can be stoped.
08-03-2012 03:00 PM
08-03-2012 03:20 PM
Can only agree. Most times I use GPS navigation I need to connect my device to power supply directly (eg. in car) since drain of battery is really hard on almost all devices including Apple, Android, PlayBook (haven't any other BB at this time) + WindowsPhone.
08-03-2012 03:22 PM
08-03-2012 03:25 PM
Are there any posted specs for battery time while using GPS at different accuracies? My iPhone 4 can last about 5 hours using continual GPS.
Do not know. Only my personl thoughts when using different devices for testing here.