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.