×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    9

    Question Write to txt file in res folder

    Dear All,

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

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: Write to txt file in res folder

    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 18:21.

  3. #3
    Super Contributor
    Join Date
    Mar 2006
    Posts
    516

    Re: Write to txt file in res folder

    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

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Write to txt file in res folder

    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

  5. #5
    Registered User
    Join Date
    Apr 2006
    Posts
    9

    Re: Write to txt file in res folder

    Thanks everyone. I think i might as well go for RMS. Thanks.

Similar Threads

  1. could not find thread.mbg and thread.rsg
    By deercrane in forum Symbian C++
    Replies: 3
    Last Post: 2006-04-18, 09:44
  2. Way to display a ASCII txt file
    By gs_cmans in forum Symbian C++
    Replies: 1
    Last Post: 2006-03-31, 13:32
  3. Replies: 1
    Last Post: 2005-05-26, 14:22
  4. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22
  5. Opening and showing a txt file
    By pappago in forum Symbian C++
    Replies: 1
    Last Post: 2003-02-04, 15:19

Posting Permissions

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