01-10-2009 01:29 AM
I feel bad asking so many questions on here, but everybody is so helpful it's hard not to.
I built, signed, and deployed the RIM GPSDemo which comes with the JDE to an 8300 (which does not have a built in GPS receiver). I do, however have a Garmin bluetooth GPS receiver that I have used with success on Windows Mobile devices. I have enabled this deviceby enabling bluetooth and, and through the GPS options in the advanced settings set the receiver to be the default bluetooth device.
However, when I run GPSDEMO I get a ControlledAccessException. I have checked the application policy on the device and don't immediately see something amiss.
Is there something extra I need to do in my program to support bluetooth GPS devices or does this device have policy set from an enterprise server that is stopping me, or is there some third, obvious, option I am failing to see?
Hoping to continue my streak of excellent help luck,
01-10-2009 05:36 AM
When you have installed your application, go to Options-Advanced Options-Applications
Find your application in the list, open menu and select "Edit permissions"
Set the relevant permissions for your application and save settings.
Check the picture attached.
01-10-2009 05:59 AM
To make your application appear in applications list - install it via alx file or via OTA.
If you install it via javaloader command directly - it won't appear in options-applications list.
01-12-2009 03:07 AM
I did this initially when first testing the app. Whether Location is set to Prompt or Allow I get the ControlledAccessException without any dialogs appearing. I am sure it is for the correct application.
Is there any other policy that could cause this exception? the error message itself says: "Uncaught exception: Cannot Access GPS: This application requires authorization from your wireless service provider to access the GPS functionality" is this just a generic error, or is there policy set by ATT that is causing this?