954,506 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Accessing a file on a pda, from a midlet

Hi all

Ive writing a simple j2me program to read from a file. Im running the midlet on a pda but im having trouble accessing the file. Im using J9 JVM on a Dell Axim, ive also installed the JSR-75 (which is need to access files), however im still having trouble access a file.
The midlet is in an untrusted security domain, so i think this is the problem. So do i need to sign my .jar file? If i do, how do i do that?

Im really stuck, so id really appreciate your help.
Thanks

Littlen
Newbie Poster
10 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

Ive sorted out signing my .jar file however when i run it on a pda i get the following error

Cannot parse scheme: /My Documents/message.txt

Just wondering if anyones ever come across this before, cause i havent a clue what it means.
Thanks again

Littlen
Newbie Poster
10 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

Ive finally solved my problem, so in case anyone else comes accross this error while access a file on a pda, one of the reason could be because the JSR-75 isnt installed properly on your JVM.

Make sure the \lib\jclMidp20\ext\fc.jar ,from the JSR75 goes into this folder on you mobile device: YourJ9Folder\lib\jclMidp20\ext\ - you may have to create a ext folder!

Littlen
Newbie Poster
10 posts since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You