This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java Micro Edition and the fly likes writing into a text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
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: 423

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).
 
Don't get me started about those stupid light bulbs.
 
subject: writing into a text file