BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-17-2009, 10:34 AM   #1
OttoKruger
Knows Where the Search Button Is
 
Join Date: Jul 2009
Model: 7100T
PIN: N/A
Carrier: Sprint
Posts: 39
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?
Offline  
Old 08-17-2009, 12:33 PM   #2
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default

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.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Rare Vintage Metal Banding Strapping Tensioner Bander Tool (MAC004786) picture

Rare Vintage Metal Banding Strapping Tensioner Bander Tool (MAC004786)

$649.99



Vintage MAC Knife Japan 4.75

Vintage MAC Knife Japan 4.75" Folding Lock Blade Knife Chef Pocket Knife Utility

$199.97



Vintage Rolodex Punchodex Model P-209

Vintage Rolodex Punchodex Model P-209 "Big Mac" Paper Punch for 5.5" to 14"

$39.99



VINTAGE MAC TOOLS WSC7 WIRE CUTTER CRIMPER STRIPPER TOOL w/red handle picture

VINTAGE MAC TOOLS WSC7 WIRE CUTTER CRIMPER STRIPPER TOOL w/red handle

$45.00



Vintage Catalog 1985 MAC Tools Product MT86CAT Washington Court House Ohio picture

Vintage Catalog 1985 MAC Tools Product MT86CAT Washington Court House Ohio

$19.99



Ross TRW Torqmotor 095 84 AAW Hydraulic Motor MAC 24005 Vintage picture

Ross TRW Torqmotor 095 84 AAW Hydraulic Motor MAC 24005 Vintage

$304.49







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