473,378 Members | 1,479 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

J2ME access files??

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\filesys tem\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
Apr 1 '06 #1
0 4733

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: gilgantic | last post by:
How do you navigate between screens in J2ME? I would like to navigate to the next screen using the default emulator in KToolbar. Here is a snippit of my commandAction method: public void...
1
by: gilgantic | last post by:
I am trying to discover how to download a J2ME application to a physical cell phone after testing using the emulator. How do I do this? Looking at using Sprint and Motorola for now, but any cell...
3
by: SpaceCowboy | last post by:
To begin, I'm using JBuilder9 under J2ME and MIDP 1.0. I'm trying to use an external library. I can get my code to compile, but I can't get the library code working on the emulator. I'm...
0
by: Dave Rathnow | last post by:
We are looking at using J2ME in a embedded device that will be deployed in an industrial application and I've been doing some research to see how practical J2ME would be for our application. Most...
1
by: Ralph Yozzo | last post by:
Hi, Does anyone know of a good place to look for a starting point -- I'm building an application on J2ME and I want to have a scripting language to both access my UI and the database RMS. Most...
0
by: Paul C | last post by:
I am wanting to store a collection of relatively large binary files on a device. The above method seems to be the only way I can do this (j2me databases do not meet my needs- the recordstore class...
0
by: rameshpi | last post by:
iam developing a j2me application.i want to maintain a local database on pocket pc 2003(mobile device).how can connect pocket access from j2me application?
0
by: ab | last post by:
Hi, can anybody know how can I load and display large JPG files in J2ME? best regards ab
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.