wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes WMA MIDlets, how do you receive sms without a port no. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "WMA MIDlets, how do you receive sms without a port no." Watch "WMA MIDlets, how do you receive sms without a port no." New topic
Author

WMA MIDlets, how do you receive sms without a port no.

Ian Strain
Ranch Hand

Joined: Jun 30, 2004
Posts: 49
I'm writing a MIDlet that listens for incoming sms messages. It is listening on port 50000. When I send a sms message from a MIDlet I created that sends a sms message using port 50000 it receives it no problem. But if I send a sms message from a mobile not using this MIDlet then it won't receive it. I think this is because normal sms message aren't sent with a port number or I'm using the wrong one.
How can you interept with port to listen for or what port do all sms message use


"its bad luck to be superstitious....."
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
"Portless" SMS message is never delivered to the Java runtime. It is always intercepted by the device's native SMS inbox. If your device support accessing the inbox from Java (e.g., JSR 75 or proprietary API), you can get the message by monitoring the native inbox.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Ian Strain
Ranch Hand

Joined: Jun 30, 2004
Posts: 49
Phones that use JSR-75 are very rare are they not? I've only found 2 nokia phones supporting it. Is there a site that lists them all? Whats the proprietary API?
Yenni Mahardika
Greenhorn

Joined: Jul 10, 2004
Posts: 3
can u tell me which nokia phones that support jsr 75?
thanks.
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Nokia 9500 and 6630 support JSR 75.

Most Motorola phones have some sort of proprietary API for inbox access.
Yenni Mahardika
Greenhorn

Joined: Jul 10, 2004
Posts: 3
oic, but how can our mobilephone listening for incoming message from any port sending to them?
is there any solution to receive sms from unknown port?
Ian Strain
Ranch Hand

Joined: Jun 30, 2004
Posts: 49
Looks like receiving portless sms messages using a MIDlet can't be done!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WMA MIDlets, how do you receive sms without a port no.