File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes writing into a text file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "writing into a text file" Watch "writing into a text file" New topic
Author

writing into a text file

him jain
Ranch Hand

Joined: Feb 05, 2010
Posts: 56
is it possible to write a content in text file that is present out side of the jar using J2me..

i am having a jar file and text file in my mobile.
And from jar i want to write a code to add a content in text file..

is it possible?



--Himanshu Jain
http://jainhim.blogspot.com/
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 419

Only via the optional JSR-75: http://jcp.org/en/jsr/detail?id=75
If it's not supported by your device you need to use the RMS (Record Management Store) to store data (which is not accessible from outside, if I remember correctly).
 
 
subject: writing into a text file
 
Threads others viewed
Working with text file using jsp
how to list info of more than one jar.
Writing to a text file contained in the jar?
Converting javaScript variable to java
Writing back to JAR file?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture