BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-29-2009, 04:28 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: AIRTEL
Posts: 25
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How To know whether a particular Blackberry Class was added to RuntimeStore or not

Please Login to Remove!

Hi,

By going through the Blackberry API, can we able to tell which of the blackberry API classes are added to RuntimeStore. Actually, we can access registered as well as unregistered runtime store objects from the blackberry application. Assume that i require access for blackberry Message class, how can i access the RuntimeStore of the Message clas.

How can we know that Message class is registered with the Blackberry runtime store.

Please solve my problem


Thanks

G.S.Rajasekhar
Offline  
Old 07-29-2009, 10:01 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

Messages aren't stored in the RuntimeStore, they are stored in the PersistentStore. In either case you can only query the stores directly if you know the ID they are stored under, which you probably can't find out.

The way to access messages is through the API which is described fairly well here: Livelink - Redirection
__________________
My other Blackberry is a PlayBook.
Offline  
Old 07-29-2009, 10:40 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Model: 8100
PIN: N/A
Carrier: AIRTEL
Posts: 25
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blackberry RuntimeStore issue

Hi,
Thanks for your reply. What i require is not Messages class, in general, i require getting the handle of a particular device application's object instance for example say MessageArguments, PhoneArguments, MapArguments etc.,

Suppose assume that GPS will acquire latitude and longitude from some class in the standard blackberry device application. I require the handle of those things ie., the class that modify the latitude and longitude of the standard blackberry application. Is it possible through development assuming that we are having code signing keys with us ?
Offline  
Old 07-30-2009, 06:58 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

There is no documented way of doing that, and I don't know of any practical way either. To access PersistentStore data you need to know the ID (long) that was used to create the store. I have never seen a list of these IDs from RIM, nor would I expect that they would release them.

Quote:
Originally Posted by satyarajasekhar View Post
I require the handle of those things ie., the class that modify the latitude and longitude of the standard blackberry application.
This statement makes no sense to me. If you need to know that location of the device, use the published location API.
__________________
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





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