07-22-2010 11:49 AM
Good day to you all.
I just have a question when developing java apps which uses the GPS.
Could I still get GPS fixes even when the GPS Services options in Options > Advanced Options > GPS is set to Location OFF? I've read somewhere in the boards that it doesn't affect the LocationProvider (sorry I can't find the link to the thread). Is this true? If not, how can we deal with it? I mean the user from turning the value to OFF? Is there a way to turn it on programmatically?
07-25-2010 10:25 PM
This post isn't resolved yet. I was asking whether the linked thread is correct. According to the thread setting GPS Services to Location OFF doesn't affect the getting the GPS fix but when I try to debug using a device the getState() method of LocationProvider returns TEMPORARILY_UNAVAILABLE. Can anyone verify that this is really the case?
07-25-2010 11:39 PM
Ah i thought you found the solution already. sorry.
anyway, based on my experience, i cannot get or even try to connect to the satellites when the hardware is off. Tested it on Curve 8320, Bold 9000 and Javelin 8900. with OS 4.5, 4.6 and 4.6.1
afaik, haven't seen a method to enable the GPS hardware.
07-25-2010 11:51 PM
But my problem is how to get the user to set the GPS Service to Location ON. Any way to get the user to set it to Location ON just like ApplicationPermission?