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
New Member
vijay_kadam_omni
Posts: 1
Registered: ‎06-20-2012
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);
        }
    }

Please use plain text.
Developer
peter_strange
Posts: 17,701
Registered: ‎07-14-2008

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?

Please use plain text.