BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   How to Update Multiple status In BBM code (http://www.blackberryforums.com/developer-forum/260102-how-update-multiple-status-bbm-code.html)

abhishekdagwar 06-20-2012 02:25 AM

How to Update Multiple status In BBM code
 
Hi,

Can any one please give solution for how to update multiple status in BBM Blackberry.



I have already integrated BBM code in to our project , all project works fine but issue is i have written a function changeBBMstatus. In that print statements works properly but BBM status is not update. demo code is





this function call after BBM starts.



public static void changeBBMStatus(String status){
Database bbmDatabase = new Database(Database.bbm);
Vector bbm = bbmDatabase.RetrieveVec();
if(bbm!=null && bbm.size()>0){
_bbm = (BBMBridge) bbm.elementAt(0);
}
if(_bbm!=null){
System.out.println("updating BBM status>>>>>>>>>>>"+status);
_bbm.changePersonalMessage(status);
}
}


All times are GMT -5. The time now is 01:04 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.