02-08-2013 11:36 AM
Hi, I am developing a BB10 application and it run well in Ripple emulator but the moment I tried in BB dev alpha device, the geolocation does not work and the app just hangs. I've tried both <rimermit>access_location_services</rimermit> and <rimermit>read_geolocation</rimermit> but nothing seems to work. In addition, when I check the application permission in my device (Security > App permission) my app is not listed although it asked for permission when I first started the application.
02-08-2013 12:52 PM
I takes a long time for me to get a GPS signal with the Dev Alpha A (almost 5 minutes). This is because I didn't use a SIM card with the device which most people will when they have it on their phone.
You just need to wait a LONG time in an open area for the device to get a reading. Then your app should work.
02-09-2013 02:21 AM
Considering that geolocation is an async method, is it expected behaviour that app will just stall (not responding) until it receives a geolocation data? I honestly thought that it is some kind of permission issue, but maybe I'll try in an open area..
02-09-2013 02:30 AM
02-11-2013 12:31 AM
It should work and it should NOT take ages on a Dev Alpha to get a GPS lock. It takes seconds on mine.
Make sure you have:
Uninstall the app, install it again. Maybe some weird glitch made it not give you the permissions?
Also, try enabling debugging (-d flag) and check the console for errors.
Staff UI Prototyper (read: full-time hacker)