You Are Here:

Community: Developer Discussion Boards

#1 Old Question Write to txt file in res folder - 2006-05-24, 12:20

Join Date: Apr 2006
Posts: 9
euglena9
Offline
Registered User
Dear All,

Is there any possibility to write to txt file stored inside the res folder?
Reply With Quote

#2 Old Re: Write to txt file in res folder - 2006-05-24, 15:32

Join Date: Dec 2005
Posts: 1,886
Location: Brazil
Send a message via MSN to juarezjunior Send a message via Skype™ to juarezjunior
juarezjunior's Avatar
juarezjunior
Offline
Forum Nokia Champion
Hi euglena9,

AFAIK no, it's "read-only" and you just can use its contents. If your device supports JSR-75 (and the FileConnection Opt Pack), then things are different and you can get that...

Hope it helps!

BR,

Juarez Junior
Last edited by juarezjunior : 2006-05-24 at 19:21.
Reply With Quote

#3 Old Re: Write to txt file in res folder - 2006-05-24, 18:58

Join Date: Mar 2006
Posts: 518
wang_shui
Offline
Super Contributor
Hi Euglena,

What do u really mean ?
if want to write a text file "into" the res folder in ur jar file . Then as Juarze said u will not be able to do so.

If u mean that u want to write the text file "from" the res folder. Then u can do it by using fileconnection if ur phone supports jsr - 75.
http://www.forum.nokia.com/info/sw.n..._v1_1.zip.html


Wang
Reply With Quote

#4 Old Re: Write to txt file in res folder - 2006-05-24, 19:20

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
If you just want to store some data for the midlet to be used during the next launch of the midlet (persistent data), you can also use record stores (see the package javax.microedition.rms).

As mentioned above, resource files cannot be altered from within the midlet.

Hartti
Reply With Quote

#5 Old Re: Write to txt file in res folder - 2006-05-26, 07:48

Join Date: Apr 2006
Posts: 9
euglena9
Offline
Registered User
Thanks everyone. I think i might as well go for RMS. Thanks.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
could not find thread.mbg and thread.rsg deercrane General Symbian C++ 3 2006-04-18 10:44
Way to display a ASCII txt file gs_cmans General Symbian C++ 1 2006-03-31 14:32
What is the error in my code here? Unable to Save document to file yuva69 General Symbian C++ 1 2005-05-26 15:22
Series 60 SDK Appwizard on windows xp moonjoor Symbian Tools & SDKs 15 2003-12-24 11:22
Opening and showing a txt file pappago General Symbian C++ 1 2003-02-04 16:19

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia