This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java Micro Edition and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark ""Allow Application to read data In" Block this alert" Watch ""Allow Application to read data In" Block this alert" New topic
Author

"Allow Application to read data In" Block this alert

Varunkumar varun
Greenhorn

Joined: Aug 18, 2009
Posts: 3

I tried to access the files using

FileConnection connection = (FileConnection) Connector.open( "file:///C:/gallery/" , Connector.READ);

use to access the local folders.

Now my problem is that !While trying to open the folders an alert

"Allow Application to read data In:"

How to block this using the code!! I dont want this alert!!
Anuj Prashar
Ranch Hand

Joined: Apr 15, 2008
Posts: 99

If you want to supress this warning on real devices you have to purchase certificates from companies like thawte and get your application signed using that cert. As per my knowledge there is no other solution to suppress this warning on real device.


SCJP 5,SCWCD 5, RHCT
Zandis Murāns
Ranch Hand

Joined: Aug 18, 2009
Posts: 174

As far as I know, on some Nokia's you can go to midlet's properties and allow to do privileged actions from this midlet.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Allow Application to read data In" Block this alert