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

LOT OF 3 LASER DRIVER/SERVO AMPLIFIER/PAR 210 - CUSTOM UNITS - GREAT SHAPE
$69.99
LOT OF 3 LASER DRIVER/SERVO AMPLIFIER/PAR 210 - CUSTOM UNITS - GREAT SHAPE pictureE-Tek Integrated Fiber Amplifier Module IFAM (New)
$119.0
E-Tek Integrated Fiber Amplifier Module IFAM  (New) picturePro Ears Pro Hear II+ Behind the Ear Amplifier PH2PBTE
$241.21
Pro Ears Pro Hear II+ Behind the Ear Amplifier PH2PBTE pictureAutonics PA-12 PA12 Power Amplifier
$59.0
Autonics PA-12 PA12 Power Amplifier pictureVoiceBooster Loud Portable Voice Amplifier 10watt (Aker) MR1508 White
$54.0
VoiceBooster Loud Portable Voice Amplifier 10watt (Aker) MR1508 White picture






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