BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-23-2009, 08:52 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2009
Model: 8300
PIN: N/A
Carrier: developer
Posts: 37
Post Thanks: 0
Thanked 0 Times in 0 Posts
Post How to delete persistent object cookies.

Please Login to Remove!

Hi,
I used Persistent store object key in my code for "Remember My Device".... By resetting MDS and simulator, i am able to clear all these cookies in Simulator.... How do i delete these cookies in original device?
Offline  
Old 11-23-2009, 11:20 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

This article talks about how data is handled when applications are removed. If you want to remove the data without removing the application you may use PersistentStore.removePersistentObject(key).
__________________
My other Blackberry is a PlayBook.
Offline  
Old 11-24-2009, 01:52 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2009
Model: 8300
PIN: N/A
Carrier: developer
Posts: 37
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

u mean for deleting Persisitent object cookiees we have to handle it in coding side right?
but in simulator just resetting, deletes all cookies.
Offline  
Old 11-24-2009, 09:33 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

I don't know why you keep calling them cookies, nor I am I sure what you mean by resetting the simulator, but no. When you remove the program that created the PersistentStore, the PersistentStore is removed as well.
__________________
My other Blackberry is a PlayBook.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

New Holland Windrow Inverter #166 Including Hydraulic Drive Extension Issue 8-93
$19.99
New Holland Windrow Inverter #166 Including Hydraulic Drive Extension Issue 8-93 pictureOmron MX2 3G3MX2-AB004-E Inverter
$100.0
Omron MX2 3G3MX2-AB004-E Inverter pictureUSA Stock 2.2KW Water Cooled Spindle Motor ER20+Inverter VFD+80mm Clamp For CNC
$350.0
USA Stock 2.2KW Water Cooled Spindle Motor ER20+Inverter VFD+80mm Clamp For CNC pictureULTRAVOLT 1V24-N1-T10 High Voltage Inverter Converter Power Supply 15Vin 1000V
$55.0
ULTRAVOLT 1V24-N1-T10 High Voltage Inverter Converter Power Supply 15Vin 1000V picture1pcs Omron inverter 3G3MV-AB037
$498.0
1pcs  Omron inverter 3G3MV-AB037 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.