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
Developer
paulhaenel
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.
Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: BlackBerry Messenger

duplicate post

 

Please use plain text.
Developer
paulhaenel
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.
Please use plain text.
Developer
RexDoug
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

Please use plain text.