12-18-2010 02:06 AM - edited 12-18-2010 02:17 AM
Okay, I feel dumb for needing to ask this - but I can't see how to set permissions for permission testing in the simulator (so far the 9700 and 9800).
I bring up the application list, select my application, and press the Menu key.
On my physical device, I see the option "Edit Permissions"
On the simulators, I see only "Edit Default Permissions". "Edit Permissions" are conspicuously absent.
I feel like I have to be missing something painfully, glaringly obvious -- but I'm just not seeing it. So - how do I add/remove app permissions on the simulator, so that I can test that my app is behaving correctly in absence of appropriate permissions across devices?
Some pictures to demonstrate better. In all cases the same application is selected. The first is the simulator; and the second is the actual device.
9800 / OS6 / Simulator
9800 / OS6 / Actual Device
Solved! Go to Solution.
12-18-2010 02:28 AM
Indeed it was obvious - or at least quasi-obvious.
When running the simulator, it's necessary to enable device security. Via eclispe this is done in the Run configuration's Simulator tab; there's a checkbox "Enable device security".
If you're running through the batch file, edit the command line for fledge.exe and add the flag:
/secure