Hi!
I have one problem.
I'm working some aplication in J2ME MIDP 2.0. and need to access a
directory C:\WTK23\appdb\ DefaultColorPho ne\pim\events\E vents
but this isn't a device root
directory(C:\WT K23\appdb\Defau ltColorPhone\fi lesystem\root1)
so when I try:
....
String url = "file:///C:/WTK23/appdb/DefaultColorPho ne/pim/events/Events";
....
conn = (FileConnection ) Connector.open( url);
System.out.prin tln("Can read -"+conn.canRead( ));
System.out.prin tln("\nDirector y - "+conn.getURL() );
System.out.prin tln("\nIs Direktorij - "+conn.isDirect ory());
....
i get
false
C:/WTK23/appdb/DefaultColorPho ne/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
I have one problem.
I'm working some aplication in J2ME MIDP 2.0. and need to access a
directory C:\WTK23\appdb\ DefaultColorPho ne\pim\events\E vents
but this isn't a device root
directory(C:\WT K23\appdb\Defau ltColorPhone\fi lesystem\root1)
so when I try:
....
String url = "file:///C:/WTK23/appdb/DefaultColorPho ne/pim/events/Events";
....
conn = (FileConnection ) Connector.open( url);
System.out.prin tln("Can read -"+conn.canRead( ));
System.out.prin tln("\nDirector y - "+conn.getURL() );
System.out.prin tln("\nIs Direktorij - "+conn.isDirect ory());
....
i get
false
C:/WTK23/appdb/DefaultColorPho ne/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