• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to change application permission in emulator

 
Mutturaj Baradol
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

In my application iam using application permission API,i ll get the status of the permission using
boolean status1=ap.containsPermissionKey(ApplicationPermis sions.PERMISSION_BLUETOOTH);
iam getting status as true as all permissons are in allow state in emulator.
Is there any way to change the permission to deny in emulator,iam asking this because as soon as i change permission to deny and click on save my emulator is getting struck. is it my emulator's problem or we cant change the permission in emulator???

thanks
ajj
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ajj dev",
Please check your private messages. Your account is about to be closed.
-Ben
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ajj dev"-

Your account is now closed, as you have ignored repeated requests to change your screen name so that it complies with our policy (which you agreed to obey when you signed up to JavaRanch).

If you wish the account to be reopened you need to contact one of the moderators by email.

[ Update: Reopened the account. ]
[ May 26, 2008: Message edited by: Ulf Dittmer ]
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch!

J2ME uses the standard Java security sandbox architecture, but of course the actual rules (permissions) are somewhat different from the standard JRE rules, since the VM is simpler and the hardware is different.

I would have thought that the emulator would be forbidding unsigned apps from using the Bluetooth services, though now that I think about it, I think that permissions are generally turned on in Java test environments.

Sun seems to have a pretty good document on the mobile security setup. Have you read this? http://developers.sun.com/mobility/midp/articles/permissions/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic