Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User pgoyal's Avatar
    Join Date
    Oct 2008
    Posts
    12
    Hello,

    How do I ensure that the data created by my application is stored permanently on the phone, and is not erased once I close down the application on my phone?

    TIA
    Regards

  2. #2
    Nokia Developer Champion Tiger79's Avatar
    Join Date
    Apr 2007
    Posts
    2,697
    saving it in a file through the PIM API maybe ?
    maybe even on an available memory card in the phone ?

  3. #3
    Registered User sanket2612's Avatar
    Join Date
    Sep 2007
    Location
    Mumbai, India
    Posts
    54
    Hi Goyal,

    The best way to do it is to store the file in the Record Store. There are certain disadvantages of storing the file on the phone's memory or the memory card.

    1. The user can delete the file.
    2. While writing / reading the file, the phone will ask permissions to read/write user data.
    3. Some phones do not allow the MIDlet to access the PIM unless it is signed.

    So its always a good option to use the RMS in case of persistence.

    Hope this helps.
    BR,
    Sanket

  4. #4
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    Hi,
    Why not RMS?
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. Replies: 2
    Last Post: 2008-07-03, 15:29
  2. Problems with client/server data transfer
    By wilse in forum Symbian C++
    Replies: 1
    Last Post: 2004-08-03, 16:14
  3. Data persistence even after program is removed
    By alperay in forum Mobile Java General
    Replies: 4
    Last Post: 2004-07-30, 22:27
  4. How to transfer data in persistent storage back to PC
    By chlee3 in forum Mobile Java General
    Replies: 1
    Last Post: 2002-08-21, 15:39
  5. How to transfer data in persistent storage back to PC
    By chlee3 in forum Mobile Java General
    Replies: 0
    Last Post: 2002-08-21, 14:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved