05-14-2008, 08:35 AM
Join Date: Apr 2008
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Constant Permission Request while writing / reading to / from a file
Please Login to Remove!
Whenever my application tries to write or read from a file, we get the following message "The application has attempted to open local content. Would you like to allow this? (Yes/No)"
The message pops up at least 15 or 20 times each time I try to write to a file. If you don't select "Yes" fast enough each time (default is "No"-- and you have to be really quick), the app hangs up and eventually throws an exception.
This we found on Blackberry 8830. However to overcome this problem, we enabled the proxy settings by going to
options/security settings and firewall, enable the firewall. It'll ask you to verify it every first time you run the application, but once you do so, it'll work fine without giving you that prompt.
We are not using any of the Blackberry API's. We are only using the J2ME API's.
This problem did not occur when the application was signed in 8820. But in 8830, even after the application is signed, we are still seeing the prompts at regular intervals.
Is there any workaround for this problem without making any config changes on the device for ex. Blackberry 8830.