×

Discussion Board

Results 1 to 5 of 5

Thread: TWO queries

  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    6

    TWO queries

    I have two queries:


    1) list of supported devices. Is WRT supported in 9x and Ex series?

    2) offline feature by providing some database/storage of data and it's limit


    Thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: TWO queries

    hello adduji

    will answer your first question you can find the list on this link.

    Quote Originally Posted by adduji View Post
    I have two queries:

    1) list of supported devices. Is WRT supported in 9x and Ex series?

    Regards
    Gaba88

  3. #3
    Regular Contributor
    Join Date
    Jun 2009
    Posts
    103

    Re: TWO queries

    hi adduji

    answer for your 2 query is.

    The setPreferenceForKey method allows a key to be stored along with its associated preference. The arguments are like name and value pairs. The preference value for the key is stored persistently, so if the widget or device is restarted, the value is retained. However, the values stored by a widget are removed when a widget is uninstalled from the device. This includes the case when a widget is reinstalled; where the old widget is uninstalled, the new widget is installed.

    An existing preference can be overwritten with a new value by simply calling the method with the same key and new value.

    A stored preference for a key can be removed by calling the method with the preference argument set to null.

    Syntax:

    [void] window.widget.setPreferenceForKey(String preference, String key)

    The preferenceForKey method allows a previously stored preference to be restored.

    Syntax:

    [string] window.widget.preferenceForKey(String key)


    Tarun(TJ)

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    67

    Re: TWO queries

    Hi,

    Just one note on this. Using preference for storage is great if you want to store a few Kb, but is quite slow if you want to store something in the range of 1Mb.



    Cheers,
    Ivan

  5. #5
    Registered User
    Join Date
    Jun 2009
    Posts
    6

    Re: TWO queries

    Quote Originally Posted by ivanlitovski View Post
    Hi,

    Just one note on this. Using preference for storage is great if you want to store a few Kb, but is quite slow if you want to store something in the range of 1Mb.



    Cheers,
    Ivan

    Thanks. I did find out about preference Keys but I was going to ask about the limitation since I want to store survey related data for offline use which can then later be transferred on remote server. Can you please tell me the size limit?

    Also, can't flash be used just like flash cookies are used in web ?

    Thanks

Similar Threads

  1. video streaming queries
    By alice77 in forum Symbian
    Replies: 0
    Last Post: 2005-11-23, 09:04
  2. [python] Injecting SQL queries from MySQL to e32DB
    By 1christian85 in forum Symbian
    Replies: 1
    Last Post: 2005-10-10, 09:30
  3. Replies: 0
    Last Post: 2005-10-07, 08:42
  4. Some of the importatnt link for Incoming Call related queries
    By umesh.roy in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-01-25, 10:27
  5. EAIF queries
    By infosoftin in forum General Messaging
    Replies: 1
    Last Post: 2005-01-18, 13:44

Posting Permissions

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