J2ME access files??
- From: "C:\\Marko" <mskomersicMAKNI_ME@xxxxxxxxx>
- Date: Sat, 1 Apr 2006 18:16:27 +0200
Hi!
I have one problem.
I'm working some aplication in J2ME MIDP 2.0. and need to access a
directory C:\WTK23\appdb\DefaultColorPhone\pim\events\Events
but this isn't a device root
directory(C:\WTK23\appdb\DefaultColorPhone\filesystem\root1)
so when I try:
....
String url = "file:///C:/WTK23/appdb/DefaultColorPhone/pim/events/Events";
....
conn = (FileConnection) Connector.open(url);
System.out.println("Can read -"+conn.canRead());
System.out.println("\nDirectory - "+conn.getURL());
System.out.println("\nIs Direktorij - "+conn.isDirectory());
....
i get
false
C:/WTK23/appdb/DefaultColorPhone/pim/events/Events
false
I must access this folder on my simulator because a PIM API stores it's
..vcs files wich i need to work with.
Could someone please help me it's quite urgent!!!
Thanks,
Marko
.
- Prev by Date: Re: integers and arrays in Java - how?
- Next by Date: Re: integers and arrays in Java - how?
- Previous by thread: Re: integers and arrays in Java - how?
- Next by thread: Double buffer help
- Index(es):