05-11-2011 05:44 AM
I have to add a new feature in my BlackBerry widget application.
A new feature will fetch contacts of the user from BlackBerry Messaging Server through BlackBerry Administration API.
I am stuck with it. I googled it and found too many things that gave me concepts but no help.
Can anyone please tell me how to achieve this?
05-11-2011 12:25 PM
Are you wanting to access the built in BlackBerry contacts on the device?
05-11-2011 03:04 PM
No. I want to access BlackBerry Messaging Server contacts of a person through BlackBerry Widget application.
I just got to know that there are two types of BlackBerry contacts. Contacts that are saved in BlackBerry Smartphone and the contacts that exist on BlackBerry Messaging Server.
Is that possible?
05-11-2011 04:15 PM
I'm not sure I understand which software you are referring to when you say "BlackBerry Messaging Server"
Are you referring to BBM (BlackBerry Messenger) that is running on the device?
05-12-2011 12:11 AM
I have to access contacts that reside in BlackBerry Messaging Server through BlackBerry Enterprise Server.
Now, I guess it seems more clear.
05-12-2011 07:13 AM
I'm sorry but I'm still a little confused.
I am not aware of any product that RIM has that is called the BlackBerry Messaging Server that runs server side with connectivity through the BES.
Do you have a link to the product page?
05-13-2011 01:14 AM
There is a messaging server in the diagram.
Here are the details.
Messaging server stores email addresses.
I just have to fetch those email addresses through BlackBerry Administration API.
I guess it's possible in BlackBerry Java Application, but the problem is that I could not find any information regarding accessing contacts that exist in BlackBerry Messaging Server through BlackBerry Widget / WebWorks application.
05-13-2011 10:21 AM
Ok.. so in that diagram it is a "Messenging Server" which would be a third party email service like Microsoft Exchange that is outside of the BES.
I am not familiar with the BES Admin APIs which are all server side APIs that will not be running on the device itself for accessing that content. All the Java APIs that I know of are J2SE/J2EE code for accessing that capability.
However, I do believe they are also exposed as a web service interface. In either case, you can write your integration with the Admin APIs and expose that integration to your WebWorks application as a restful web service.
05-16-2011 05:56 AM
Thanks for the help...!
Now, I want to know how to retrieve contacts from BlackBerry Messenger list.
Is this possible with BlackBerry Widget application?
05-16-2011 07:08 AM
The method would be the same as other technologies. Integrate with the Messenging Service on the server side, and expose that integration via a RESTful web service. You can then call the restful web service via AJAX calls in your WebWorks application.