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

Posts: 19
Registered: ‎01-05-2011
My Device: Not Specified
Accepted Solution

Problem with BBM when


I am facing a problem while developing my BBM application.



I am using BBMPlatformSession for sending invitation.

UserA sends request to UserB. UserB joins it and we have a session having them in each other's list.




Now, if UserB sends request to UserC and UserC joins, then each of the user is having 2 memeber in their session's contact list. So, its works as expected.

UserA->UserB, UserC

UserB->UserA, UserC

UserC->UserA, UserB


But, the problem comes when reverser happends, i.e. UserC sends request to UserB. In this case, every user can see only other user in its contact list.

UserA-> UserB




I am not sure this is the way BBM will work or I am missing on anything.




Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Problem with BBM when

Hi Sumit,


It sounds like an issue with the session handling in your application. You may want to check to see if a session is already established with UserB before allowing UserB to join a different session with UserC, or ask UserC to join your existing session. The TicTacToe sample shows a similar logic to the former, it blocks the second user that tries to join and sends them a message if a game is already in progress.



Goodbye everybody!
Posts: 19
Registered: ‎01-05-2011
My Device: Not Specified

Re: Problem with BBM when

Thanks Garett,


Differenentiating session was the key, I was missing. I did it based on the unique ID assoicated with each BBMPlatformConnection object.


Thanks again.