Geolocation problems


#1

Hi guys, I have some problem with the geolocation… Some days ago everything worked well, but todays I have some problem.
If I open gmap in my phone first and then my app, it finds my location… if I don’t open gmap in my phone and I directly open my app first, it doesn’t find the location… why does this happen? I have noticed that I have put off and then put on the geolocation I have to reopen gmpa, find my location, and then my app will find my location…


#2

I haven’t done this yet with a phone only an emulator but I think you can connect your phone to your computer and then type adb logcat at the command line to see any console output from the phone.

Does the same thing happen in an emulator?

How about sharing your geolocation code and we can start there.

Randy