Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User jim416's Avatar
    Join Date
    Apr 2010
    Posts
    4
    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
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    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 im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    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 Python
    Replies: 17
    Last Post: 2008-11-10, 23:24
  2. Problem packaging and deploying files
    By raffaelbechara in forum Symbian C++
    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
  •  
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