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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Developer
Posts: 220
Registered: ‎09-09-2008
My Device: Bold 9780
My Carrier: Telstra AU

BlackBerry Messenger

Hi all,

 

Im trying to listen to an incoming message from the BlackBerry messenger. As far as I understand that concept so far all i need to do is listen to a new session request and then start a new listener associated to that session request. In my session listener have all the 5 classes which are required but when i compile the source it throws an errror "xxx is not abstract and does not override abstract method message Delivered in net.rim.blackberry.api.blackberrymessenger.SessionListener"

 

My Code:

 

import net.rim.blackberry.api.blackberrymessenger.*;

 

public class xx implements SessionListener  {

 

    public void messageQueuedForSend(Session session, Message message){

    }

 

    public void messageReceived(Session session, Message message){

    }

 

    public void messageSent(Session session, Message message){

    }

 

    public void messageDelivered(Session session, Message message){

    } 

 

    public void sessionClosed(Session session){

    }

 

    public void sessionRequestAccepted(Session session){

    }

}  

 

Any idea's or do i do something wrong ?

-----------

Follow me on twitter: twitter.com/paul.haenel

If your issue is resolved, please mark this thread as solved.

Set the "Solution" mark on the post which contains the answer to your question.
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: BlackBerry Messenger

duplicate post

 

Developer
Posts: 220
Registered: ‎09-09-2008
My Device: Bold 9780
My Carrier: Telstra AU

Re: BlackBerry Messenger

duplicate post ? where is the duplicate post then ? as i have looked through the forum before and havnt found the solution for this....
-----------

Follow me on twitter: twitter.com/paul.haenel

If your issue is resolved, please mark this thread as solved.

Set the "Solution" mark on the post which contains the answer to your question.
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: BlackBerry Messenger

You had two duplicate posts about 10 mins apart.

 

I answered the first one.

 

http://supportforums.blackberry.com/rim/board/message?board.id=java_dev&message.id=50105#M50105