Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Android™ Runtime Development

Reply
New Contributor
jmbusby
Posts: 6
Registered: ‎03-12-2013
My Carrier: None

Problem getting location updates from Z10

I am porting an Android app to the Z10. Most things are working, except location updates. My Android app requests COARSE_LOCATION only which uses a network location provider (Wifi based rather than GPS).

 

First problem I see is that when I look at the app permissions, the Z10 says my app has GPS location permission, but not regular (network) location permission. This is back to front, as I am not requesting GPS permission.

 

This may be the cause of the second problem. The app itself cannot get any network location updates from the OS. I have a LocationListener registered, but it never receives an onLocationChanged call. When I query the LocationManager directly for a last known position, I also get nothing. Perhaps because the app has not been granted the right permission?

 

Any help would be appreciated. 

Please use plain text.
New Contributor
jmbusby
Posts: 6
Registered: ‎03-12-2013
My Carrier: None

Re: Problem getting location updates from Z10

UPDATE: According to BlackBerry support:

"This is a known issue it is in the process of being fixed with internal development. "
Please use plain text.