×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    2

    Where are the preferences for widgets stored?

    I need to know if preferences (PreferenceForKey) are stored in some file and if is it text plain.
    Thanks

  2. #2
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    60

    Re: Where are the preferences for widgets stored?

    Quote Originally Posted by eartied1 View Post
    I need to know if preferences (PreferenceForKey) are stored in some file and if is it text plain.
    Well everything on a computer (and a phone is just a computer) that is persistently stored is fundamentally stored in a file so that is true for widget preferences too. Even if on a higher level you talk about storing things in a "database" or "registry" etc. those are just files on a lower level.

    To help answering your root concern may I ask what the interest is? That is, are you interested in whether someone with malicious intent could get to the data stored in the preferences? Or are you interested in accessing the preferences from some other application?

    Peppe

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    2

    Re: Where are the preferences for widgets stored?

    I don't want someone can access to my preferences with malicious intentions (I need to save some sensitive parameters), so I need to know where is the file to protect data or to search another way to to save that parameters.

  4. #4
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    60

    Re: Where are the preferences for widgets stored?

    Quote Originally Posted by eartied1 View Post
    I don't want someone can access to my preferences with malicious intentions (I need to save some sensitive parameters), so I need to know where is the file to protect data or to search another way to to save that parameters.
    There is no other way to read/write data locally from a widget.

    And even if there was some way, you wouldn't be able to encrypt and decrypt such data without having the encryption & decryption code and key in the widget, revealing to anyone who views the widget source code how the encryption and decryption is done and what the key is.

    Peppe

Similar Threads

  1. Problem about preferences of emulator [S60 2nd FP3 MIDP]
    By dark_lkp in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2008-05-15, 00:33
  2. Emulator preferences window dont open
    By fabiano_pmj in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-03-27, 20:55
  3. Replies: 2
    Last Post: 2005-03-14, 15:22
  4. ways of drawing immutable images (stored as png file on device/disk) for 60 series.
    By montooshah in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2003-12-01, 05:42
  5. Replies: 0
    Last Post: 2003-07-09, 06:49

Posting Permissions

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