A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Java Micro Edition
Application not authorized to access the restricted api
Joined: Sep 19, 2008
Sep 17, 2009 04:18:41
In my application i am using File Connection API to browse and access a file from the phone memory.The j2me code is
initDir = System.getProperty("fileconn.dir.photos");
private FileConnection currentRoot = null;
if (initDir != null)
currentRoot = (FileConnection) Connector.open(initDir);
catch (Exception e)
showAlert("ConnectionNotFound : "+e.getMessage());
This code works fine in Sony mobiles but throws an exception "Application not authorized to access the restricted api" in Nokia and Motorolla devices.
I am unable to understand this problem.
Thanks & Regards,
subject: Application not authorized to access the restricted api
Send a file to server
Regarding FileConnection ...
"Allow Application to read data In" Block this alert
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014