How can I avoiding API Access alerts in WTK

158 Views Asked by At

I have made a Home - Made Nokia 5800 emulator in my WTK 2.5.1, by converting on of the WTK's devices. In my program, i'm using FileConnection. When a call made to this APi, an alert been displayed and block the screen. Since my "emulator" contains no buttons i can confim the access, and can not continue with debuging. How can I remove this alert? I'm using NetBeans 6.9.1. Thanks, Eyal.

2

There are 2 best solutions below

0
On BEST ANSWER

You are accessing JSR-75. So its require permission to access that API for security reasons. Look at this discussion and avoid security alerts on emulators. But for real time, you have to signing the application.

0
On

To avoid such alert in emulator.goto wirless toolkit select edit->preference->default emulator->security, set the security domain as maximum. If in real device means u should get signed from the trusted party.