Hi,
I'm trying to write a java application to block SMS and MMS messages. I'm using the javax.wireless.messaging class suite to create a connection and listen on a given port for incoming messages. My first problem is that I don't know what port to listen on. I'm using the Nokia 3300 Emulator to run my app and NMIT to send the message; the emulator receives the message whilst running my app but the app itself doesn't respond as it should if it were aware of the message; my guess is that I've got the port wrong.
My second problem is that I'm unsure how to block the message or how to delete it from the server if my application decides it should be blocked. If this is possible (or even impossible), please let me know.
Finally, I'd like my program to run only when a message is received, or else run in a quiescent state in the background until a message is recieved. Does anybody have any idea how to write an application that wakes on messages?
Thanks in advance,
Tim.

Reply With Quote

