Hello all,
Is there any chace to get the information from the device that the GPS is turned off?
I could not find any reply in google / corona sdk librares about that one, now I’m handling simply by making try times like:
if currentLocation.errorCode then
try = try + 1
Then if the try is bigger than 30 (1 minute) it is stopping and asking user to have the GPS deviece enabled.
Which is not good, I think there should be way to use any event of the phone to get info if the GPS module is enabled, there is a lot of GPS Apps which is asking for the GPS to have enabled before you open the map etc.
I have tried with the event “location” but it is only checking if the system has the GPS module or not, how Can I handle this, to be faster to inform user about having GPS module enabled?
Regards,
M.
