A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Application not authorized to access the restricted api
Send a file to server
"Allow Application to read data In" Block this alert
Regarding FileConnection ...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013