View Single Post
Old 06-20-2012, 01:25 AM   #1 (permalink)
abhishekdagwar
New Member
 
Join Date: Apr 2012
Model: 9700
PIN: N/A
Carrier: no
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to Update Multiple status In BBM code

Please Login to Remove!

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);
}
}
Offline   Reply With Quote