Can someone help me please to find the number of sms sent from blackberry smartphones?

Hi all

I'm new to the blackberry smartphone application development. My requirement is to manage the sms sent from a blackberry smartphone like finding the number of SMS messages sent, the destination not like that. I tried running messagelistener, sendlistener and outboundmessagelistener, but something did not work well. So can someone please help me to solve my problem?

FYI: 1. I've implemented outboundmessagelistener but couldn't find a way to add this port for listening to my request.

2. I set up sendlistener and added to my application of the method SMS.addSendListener which does not also carry out my requriement.

So, please help me if you have an idea in these aspects.

Thank you

Sanath

FOR INFO:

Import net.rim.blackberry.api.sms.OutboundMessageListener;

SerializableAttribute public class MainClass extends UiApplication implements OutboundMessageListener

{

Public Shared Sub main (String [] args)

{

PAP MainClass = new MainClass();

To make the application enter the thread of events and start treatment

messages,

We invoke the enterEventDispatcher() method.

theApp.enterEventDispatcher () ;}

public void notifyOutgoingMessage (message Message)

{

If (this instanceof text message)

{

Here you can not manually counting the SMS

}

}

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for