BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-19-2009, 10:51 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2009
Model: 7100T
PIN: N/A
Carrier: Sprint
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Persistent object

Please Login to Remove!

How many persistent objects can I have per application?

I'd like to have one for keeping images and another for keeping other data. Is it possible or only one is allowed?

Thanks.
Offline  
Old 09-19-2009, 11:41 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

I have an app that uses one for the database, another for properties, so guess you can have at least two.

Each needs its own hash ID.
Offline  
Old 09-19-2009, 09:09 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2009
Model: 7100T
PIN: N/A
Carrier: Sprint
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did the same thing but I was not sure if it is correct.

Thanks,

Otto
Offline  
Old 09-22-2009, 03:56 PM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2008
Model: none
PIN: N/A
Carrier: none
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The limitations that I've heard of are
-the global maximum number of object handles (I think it's 64k). Each persistent object takes up one handle. You can group objects to save handles. One group takes up one handle.
- the maximum size of one persistent object or group - 64kb.

Quote:
Originally Posted by OttoKruger View Post
How many persistent objects can I have per application?

I'd like to have one for keeping images and another for keeping other data. Is it possible or only one is allowed?

Thanks.
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





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