dcsimg
Reading and Writing a file outside JAR file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Chu_YF
Posted On:   Wednesday, June 16, 2004 03:27 AM

Hie, I'm trying to use J2ME to read arbitrary file which is not inside the JAR file, but local disk for encryption purpose. I can perform the reading on my PC within the directory where the jad file is compiled, but not on other directories or other pc. I'm using the GUI of the wireless toolkit, and by keying in the respective filename plus the extension, reading can be performed. I'm using the method
getResourceAsStream to read up the file. Are there any method to access arbitrary files in a local disk, since getResourceAsStream only read from a JAR file??

Re: Reading and Writing a file outside JAR file

Posted By:   Biddau_Angelo  
Posted On:   Tuesday, July 6, 2004 12:31 AM

The limitations not read file outside the jar but create a RecordStore to write and read data
About | Sitemap | Contact