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.

inside custom component

Android™ Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 3
Registered: ‎04-07-2012
My Device: PlayBook
My Carrier: None

Converted GPS app never asks for GPS location permission and fails to function

After receiving my free playbook (thanks), I am trying to convert one of my android apps that uses GPS, over to blackberry.  The app uses "android.permission.ACCESS_FINE_LOCATION".  In my playbook, the app never prompts for the permission to access GPS location, and the app hangs trying to get a fix.  The GPS on the playbook does work for other apps (eventually), and those apps (GPSInfo and Poynt) display the prompt about GPS location.  I have also tried ACCESS_COARSE_LOCATION with the same results.

The online compatibility checker issued no warnings about my apk, and the above permissions are not amongst the unsupported permissions.  Also, I am not using Google Maps at all.

 

Thoughts or suggestions?

 

Final question:  Is there any android developer who has successfully converted a GPS app over to the playbook and had it function properly.  If so, what permissions did your app request (in the AndroidManifest.xml file) and what other steps did you take to get it to work?

 

Thanks.

Visitor
Posts: 1
Registered: ‎08-11-2011
My Device: playbook 9800
My Carrier: telus

Re: Converted GPS app never asks for GPS location permission and fails to function

Do you have this in your xml file ?

 

 <rimSmiley Tongueermissions> <rimSmiley Tongueermit>read_geolocation</rimSmiley Tongueermit> </rimSmiley Tongueermissions>

New Contributor
Posts: 3
Registered: ‎04-07-2012
My Device: PlayBook
My Carrier: None

Re: Converted GPS app never asks for GPS location permission and fails to function

Thanks for the suggestion.  I did try that, but unfortunately, that seems to be only for the WebWorks SDK, and not for the android conversion.  If I put that in the AndroidManifest.xml, it won't compile.  Any other thoughts?  I have posted this over on stackoverflow also, and as it stands now, I have gotten no replies.  I will give it another day or two, and then submit a bug report.