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.

inside custom component

Java Development

Reply
New Member
Posts: 1
Registered: ‎06-20-2012
My Device: Bold
My Carrier: Rim

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);
        }
    }

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: How to Update Multiple status In BBM code

[ Edited ]

Welcome to the forums. 

 

Does

_bbm.changePersonalMessage(status);

get invoked?

 

If so, then what does it actually do?