×

Discussion Board

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

    setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    We are trying to develop a widget that may need to save considerable amounts of data, and I was wondering if the S60's preference for key method, had any type of limitations.
    We're developing quite a lot of widgets, and time is an issue, that's why we're considering the possibility of using the Widget's setPreferenceForKey() just as it was a small database.
    But before doing that we need to know about any known limitations for these preferences, so any feedback would be really appreciated.

    - Limited number of keys ?
    - Limited length for a key's value?
    - System/Widget performance problems with large amount of keys?

    Alejandro.

  2. #2
    Registered User
    Join Date
    Jan 2008
    Posts
    1

    Re: setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    HI Alejandro,

    Did you get any further information on setPreferenceForKey() limitations?

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

    Re: setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    I'm afraid not. Anyway we had to develop the widget anyway, and currently it's the only way available we discovered. So if you was searching for some light at the end of the tunnel, I can't be too helpful.

    Even though, we're still interested if anyone has some more information about the subject, it would be really appreciated.

    Thanks in advance.

  4. #4
    Registered User
    Join Date
    Dec 2006
    Posts
    7

    Re: setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    Yes, I have some question like you, and moreover I am surprised which data structure is using for storing the PreferenceForKey, what is it, RAM or anything else... I think it is not RAM because I try to turn off phone and take off battery the saving records are still there. Do you have any ideas.

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

    Re: setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    Quote Originally Posted by quangtrung89 View Post
    Yes, I have some question like you, and moreover I am surprised which data structure is using for storing the PreferenceForKey, what is it, RAM or anything else... I think it is not RAM because I try to turn off phone and take off battery the saving records are still there. Do you have any ideas.
    Settings are stored persistently in a file used internally by the system which developers don't need ot know or care about.

  6. #6
    Registered User
    Join Date
    Dec 2006
    Posts
    7

    Re: setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    Quote Originally Posted by peppe@peppe.net View Post
    Settings are stored persistently in a file used internally by the system which developers don't need ot know or care about.
    Wow, thank you very much Pepe, Now I see and do not need to care about overflow stack or memory .

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

    Re: setPreferenceForKey() -> ¿Performance impact? ¿Limitations?

    Quote Originally Posted by quangtrung89 View Post
    Wow, thank you very much Pepe, Now I see and do not need to care about overflow stack or memory .
    Whatever makes you happy.

Similar Threads

  1. Has Nokia broken 7650 J2ME in v4.39?
    By LongSteve in forum Mobile Java General
    Replies: 6
    Last Post: 2003-06-03, 17:05
  2. Replies: 5
    Last Post: 2003-02-07, 11:25
  3. Incorrect order parts of MMS (if parts qnty > 5)
    By marianwitkowski in forum General Messaging
    Replies: 1
    Last Post: 2002-08-29, 04:36
  4. keybindings nokia7650 and nokia6310i
    By topisystems in forum Mobile Java General
    Replies: 1
    Last Post: 2002-06-05, 14:25
  5. 7650 and MS Bluetooth Transceiver
    By damnedi in forum Bluetooth Technology
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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