×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    21

    Clear PreferenceForKey content when power off

    Hi,
    I can now use the setPreferenceForKey to store some information.

    My question is when I power off the mobile, switch on again, I can still get the record.

    Is there anyway that when power off, the records can be deleted??

    thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,405

    Re: Clear PreferenceForKey content when power off

    Hi alex,

    afaik, it's not possible to identify a reboot from within a WRT widget.

    What you could do is to set to null the preferences you want to delete each time the widget starts, but this will obviously not perfectly match your needs.

    Pit

Similar Threads

  1. how to clear content text of CEikEdwin
    By JackSu in forum Symbian User Interface
    Replies: 9
    Last Post: 2009-05-07, 11:53
  2. How to clear content of native input-system
    By gemilib in forum Mobile Java General
    Replies: 2
    Last Post: 2008-04-24, 10:14
  3. Weird Problem with find box Kern-Exec-3
    By sohilr in forum Symbian C++
    Replies: 7
    Last Post: 2007-12-05, 04:10
  4. KERN-EXEC 3 with CEikEdwin
    By acarrion in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-10-17, 14:43
  5. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15

Posting Permissions

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