While running J2ME project with Default Emulator it will ask for Permissions in case of File Read/Write, HTTP Connectivity etc. To get rid of this Permission on every access you have to change the Security options of Emulator. In my case I am using NetBeans IDE, so to change these options I will go through following steps:
- Open Project Properties
- Click on Manage Emulators Button
- Go to Tools & Extension Tab and Click Open Preferences Option
- On Preferences Window click on Security option
- Select Security Policy to 'JTWI'
- Select Security Domain as 'trusted'
- Now run the project it will not ask for access Permissions
rizzz86
No comments:
Post a Comment