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.
09-13-2012 07:55 AM
After calling "net.rim.device.api.lbs.Locator.geocode(String freeformString, Coordinates startCoords)" we get a error message "net.rim.device.api.system.ControlledAccessExcepti
Do we have to set special Enterprise rules for that call? If yes, what and where?
09-13-2012 08:23 AM
This is likely called by the app not having permissions set appropriately. If your application requires special permissions then it would be recommended to request those permissions programmatically when the app is first run.
It is possible that the BES has rules in place to prevent LBS APIs from being used, but I would recommend checking the app permissions on the device first.
09-13-2012 09:59 AM
Thanks for the reply. However we don't know what permission for this API call is necessary and what IT policy must be set by the BES admin in order to grant those permissions. There is no documentation regarding this issue...
09-13-2012 10:11 AM
The app is trying to access the location of the device, so you need to have the "Location Data" permission of the application enabled.
There are many docs about permissions, both device side and server side.
09-13-2012 10:31 AM
09-13-2012 10:38 AM
Request app permissions, there is an applicationpermissionsdemo sample included with all Java Development tools that shows how this can be done. Alternatively try enabling all permissions and see if the issue goes away.