Accessing a file on a pda, from a midlet

Thread Solved

Join Date: Jan 2008
Posts: 10
Reputation: Littlen is an unknown quantity at this point 
Solved Threads: 0
Littlen Littlen is offline Offline
Newbie Poster

Accessing a file on a pda, from a midlet

 
0
  #1
Apr 18th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 10
Reputation: Littlen is an unknown quantity at this point 
Solved Threads: 0
Littlen Littlen is offline Offline
Newbie Poster

Re: Accessing a file on a pda, from a midlet

 
0
  #2
Apr 18th, 2008
Ive sorted out signing my .jar file however when i run it on a pda i get the following error
  1. 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
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 10
Reputation: Littlen is an unknown quantity at this point 
Solved Threads: 0
Littlen Littlen is offline Offline
Newbie Poster

Re: Accessing a file on a pda, from a midlet

 
0
  #3
Apr 19th, 2008
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!
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC