BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 08-17-2009, 10:34 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Jul 2009
Model: 7100T
Carrier: Sprint
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Need help to persist EncodedImage

Please Login to Remove!

I created class:
class PersistableStore implemented Persistable{
private Hashtable encodedImages;

Hashtable keeps images and I am peristing PersistableStore object. But when I do it exception is thrown saing that EncodedImage is not persistable. How can I make it persistable?
Old 08-17-2009, 12:33 PM   #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

You have to subclass from EncodedImage and implement Persistable as you did for PersistableStore. Any object you put in a persistable object must also implement persistable.
My other Blackberry is a PlayBook.
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

10-Universal-Triad-3 LAMP BALLAST
10-Universal-Triad-3 LAMP BALLAST pictureROBERTSON REJ1L10-120H USED 120V BALLAST (1) CF32TR4 LAMP SEE PICS LOT OF 2 #D13
ROBERTSON REJ1L10-120H USED 120V BALLAST (1) CF32TR4 LAMP SEE PICS LOT OF 2 #D13 picture277V Ballast- Universal Lighting Technologies (2)F96T12/HO
277V Ballast- Universal Lighting Technologies (2)F96T12/HO picturePhillips Advance Ballast Icf-2s42-m2-ld Lot Of 5
Phillips Advance Ballast Icf-2s42-m2-ld  Lot Of 5 pictureGE332MAXL/ULTRA, 49708, Ballast 3L
GE332MAXL/ULTRA, 49708, Ballast 3L picture

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