• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Access Local Folders

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.,


I need a a J2ME application developed to access the folders and the files in the local mobiles.
Can any one please help me out..?

I need a application to access the files.., so that i cant fetch details and can work on that!

If those are device specific! kindly tell how to access Nokia mobile folders
Is there any special API for accessing those folders ??
 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All you need is to use JSR 75 - FileConnection Optional Package.
Class FileSystemRegistry registry will let you list all available roots, and though FileConnection interface you can list files available in the location and do some other things. For quick example you can have look here
 
Varunkumar varun
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you !!
I finished doing that!! I also tried like

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 alerts is coming

"Allow Application to read data In:"

How to block this using the code!! I dont want this alert!!
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic