Hi,
Is this possible to read a SMS before sending into inbox?
How its possible?
Hi,
Is this possible to read a SMS before sending into inbox?
How its possible?
Bharath... :)
Its not possible to read SMS before it reach native inbox with a Java app. But its possible to do with Symbian C++
Regards
Gopal
Hi,
Is possible to read the SMS after receiving into inbox?
And i need to read from particular number.
Bharath... :)
You can't access the native message box related stuff like Inbox, Sent Message or etc.
However if you want to read the SMS from the port the what you can do is just you send the SMS on the specific port and then you can read that SMS using your Java ME application.You keep on listening the port and as soon as the port receive the SMS you can read the same.There are many examples on the web related to this.
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,
THanks raj. and what is the default port for receiving the SMS?
Is this port number is same for all mobiles?
Bharath... :)
What do you mean by "default port"? The port for Inbox?
If you think of creating a MIDlet which would be listening that port to see the "normal" messages, that will not work.
In general you can use SMSs in Java in the following way. You choose a port your application will use (there is a range of allowed ports in there). You send messages to that port and your MIDlet on the device listens to that port and receives the messages. With PushRegistry your MIDlet can also receive the messages even if your MIDlet is not running.
Hartti