03-07-2009 05:00 PM
I am in need of how to listen for new emails (i know how to get the email addresses from the service books but i dont see any listeners) and i also need to know the simplest way to distiguish between an MMS and a SMS (i am listening for them using datagram and it works nicely)
03-07-2009 08:57 PM
From the KnowlegeBase:
I suggest using the Datagram connection rather than MessageListener, as Message conneciton allows only one application at a time (first one wins).
AFAIK, there is no similar method for MMS yet.
03-07-2009 08:58 PM - edited 03-07-2009 09:03 PM
Here's an example-
Port 6222 is used in this example. If I remember correctly, the default SMS port is 0.
smsConnection = (MessageConnection) Connector.open("sms://:0");
I am not sure about MMS.
Opps... RexDoug beat me to the answer!
03-07-2009 09:22 PM
03-07-2009 09:23 PM
As for MMS, per this thread, you cannot listen for all incoming MMS messages. You need app ID to be able to receive an MMS (meaning you can receive only MMS messages sent by your own application running on another phone.)
11-30-2010 09:27 AM
I know this post is old, but an application called "BerryBuzz" has a fully functional MMS listener playing reminder notifications until you view your MMS inbox.
If it is impossible to have an MMS listener, how does this app send reminder notifications to the user once an MMS is received? I tried it on my phone, and it works perfectly.