I am trying to acces a local file from a xlet but I am getting the following error:
java.security.AccessControlException: access denied (java.io.FilePermission write.txt write)
Can anyone help me? How can I get the permissions?
You'll need to request the file permission in a Permission Request File. The exact format of the file will vary slightly depending on the platform, I believe, but you want to make sure that you request the <file ...> permission and that you have a signed app, or at least an appId in the signed range if you are not using a device/simulator that checks security
Hope that helps...