• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to change application permission in emulator

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"ajj dev",
Please check your private messages. Your account is about to be closed.
-Ben
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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/
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic