permaculture playing cards*
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
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