×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    4

    Files storage locations

    I would like to add functionality to my phone where it maintains its settings.
    I understand that saving to a file somewhere on the filesystem is an option.

    What are the paths for filesystem objects on S40s?
    What would the paths be for onboard storage versus SD card storage?


    Also, instead of saving to a text file, is there a sort of settings repository or registry for s40 devices?

    Your help is appreciated.

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: Files storage locations

    Quote Originally Posted by jim416 View Post
    1.What are the paths for filesystem objects on S40s?
    2.What would the paths be for onboard storage versus SD card storage?


    3.Also, instead of saving to a text file, is there a sort of settings repository or registry for s40 devices?
    Your help is appreciated.
    1. For this I will recommend you not to use the hard code path and get the path using the code to have the dynamic and exact path.
    For this I would suggest you to use the PDAP demo available in the WTK app folder,use this application and you will be having the complete information that you might need.

    2.Read the JSR 75 FileConnection API, for more information
    http://developers.sun.com/mobility/a...ileconnection/

    3.Please explain.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: Files storage locations

    Also, instead of saving to a text file, is there a sort of settings repository or registry for s40 devices?
    You cannot play around with any such thing on S40, it would not be reachable from your J2me App;, the best way will be to store such info as key,value pairs (delimitered string) in RMS as sepertae records. And read then in a Hashtable at the start of the app; to provide random & instant access to any proprerty.

    thanks,
    ~Amitabh

Similar Threads

  1. error when browsing files
    By Scolpy in forum Symbian
    Replies: 17
    Last Post: 2008-11-10, 23:24
  2. Problem packaging and deploying files
    By raffaelbechara in forum Symbian
    Replies: 4
    Last Post: 2008-10-24, 14:53
  3. How to enable security to the files on Memory Card
    By manojkumar.m in forum Mobile Java General
    Replies: 1
    Last Post: 2008-10-04, 18:29
  4. missing header files from FP1 SDK & Plug-ins.
    By ruchirvasavada in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2008-09-08, 20:54
  5. Saving audio files from RMS to phone storage
    By a_nemoff in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2006-05-17, 19:04

Posting Permissions

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