Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell
Accepted Solution

Push a service book

Quote from the previous forum:


Guest: Niranjan
Push a service book
Posted: Jan 23, 2006 1:10 AM
 
hi all,
does any body know how to programatcally push a service book on to the device?i,e a service book from the website shud be pushed on to the blackberry...
Regards,
Niranjan

 


Jennifer Emery

Posts: 1,581
Registered: Jul, 2005

Re: Push a service book
Posted: Jan 31, 2006 3:41 PM
 
It is not programmatically possible to push a service book onto the BlackBerry handheld. The service books are automatically pushed down based on the provisioned service.



Jennifer Emery
BlackBerry Developer Journal
www.blackberrydeveloperjournal.com

 

Guest
Re: Push a service book
Posted: Dec 12, 2006 5:58 AM
 
Hello,
Is there any list of service books available ?
What service books are required for what purpose ?

Thanks,
Abhijit Chandekar

 

Jennifer Emery

Posts: 1,581
Registered: Jul, 2005

Re: Push a service book
Posted: Dec 12, 2006 7:20 AM
 
Please review the following developer knowledge base article:

DB-00418: How To – Access and Obtain Service Books on a device
http://tinyurl.com/y48azn

Jennifer Emery
BlackBerry Developer Journal
www.blackberrydeveloperjournal.com

 

VipulPathak

Posts: 54
From: Columbia, MD
Registered: Apr, 2008

Re: Push a service book
Posted: Jul 23, 2008 10:30 AM
 
Hi,

During the Enterprise Activation, Service book is Synchronized to the device from the server. Is it possible to detect on the device, if the device is-
1. Enterprise Activated ?
2. having BES Service Book ?

Thanks,

A GlobalEvent is fired when a service book is added.  You can read about this here:

 

What Is - System Global Events
Article Number: DB-00469

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/What_Is...

 

What Is - Global Events and Global Event Listeners
Article Number: DB-00145

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/What_Is...

 

The name of a service book from a BlackBerry Enterprise Server starts with Desktop and has the SRP ID of the BlackBerry Enterprise Server as its UID.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Developer
VipulPathak
Posts: 81
Registered: ‎07-16-2008
My Carrier: AirTel

Re: Push a service book

Awesome !

 

Thanks Mark   :-)

 

*(Vipul)() ;
Please use plain text.
Developer
VipulPathak
Posts: 81
Registered: ‎07-16-2008
My Carrier: AirTel

Re: Push a Service Book

Any way to extract the SRP Id on the device, in order to match it with the UID of the Service Records (Starting with "Desktop*") ?

 

*(Vipul)() ;
Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Push a Service Book

You can extract the SRP ID from the service book.  But there is no other way to look it up so that you could use it to locate a service book record.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
CharlesMorse
Posts: 12
Registered: ‎08-29-2008

Re: Push a Service Book

Mark, there is no mention of 'SRP' in ServiceBook class documentation.  Is it same as CID?  or is it data source id?

 

Thanks.

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Push a Service Book

It is stored in the UID and can be read by using ServiceRecord.getUid() method.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
zhangrusi
Posts: 5
Registered: ‎08-02-2009

Re: Push a Service Book

Hi,

 

I was also looking for a way to get the SRP ID from the device API and ran across this thread.  My question is whether we can always reliably use the service book this way--to determine whether the device is attached to a BES and, if so, what the SRP ID is.  So:

 

1) Is there a "Desktop" service book entry if and only if the device is attached to a BES?

2) Are we guaranteed that the UID for a "Desktop" service book entry will always be the SRP ID of the BES?

3) Does this have the potential to change in future versions of the platform?

 

Thanks.

Please use plain text.
New Developer
zhangrusi
Posts: 5
Registered: ‎08-02-2009

Re: Push a Service Book

Sorry...realized that this is a solved thread.  I will start a new thread.
Please use plain text.