Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Head First Android this week in the Android 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: 427

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).
 
jQuery in Action, 3rd edition
 
subject: writing into a text file
 
It's not a secret anymore!