File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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,
I agree. Here's the link:
subject: Application not authorized to access the restricted api
"Allow Application to read data In" Block this alert
Regarding FileConnection ...
Send a file to server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014