(Android)
Runtime:addEventListener(‘location’, locationHandler)
I can get locationHandler to fire if I have GPS turned on. When turned off I never get Coarse location data even though i have it listed in my Build Settings. (“android.permission.ACCESS_COARSE_LOCATION”). I have event tested the APP with only the coarse location data listed in buildsettings. Still does not work.
I would like to know if there is a way to tell if the GPS is turned on so I can notify the user it needs to be turned on?
Also if anyone has any ideas on how to get coarse location data I would love to hear it. Having the user turn on GPS is an extra step I’d rather they not have to take. I would like to be able to get coarse location data for users who do not have gps turned on.
Chris
PS. I can get coarse data on my Nexus 7 . My trouble is with my EVO 4g LTE phone.