| Reply | « Previous Thread | Next Thread » |
|
All,
I've got a working version of a J2ME SMS client that can send and receive SMS's. The client application is similar to the one listed in the documents area of this forum. I now want to send a WAP Push message to my client, how can I instruct the J2ME client to send the incoming WAP Push message to the WAP Stack of the handset? Regards |
| fluffy_bunny |
| View Public Profile |
| Find all posts by fluffy_bunny |
|
If you send a message and you don't specify a destination port, then the message will be handled by native messaging handling.
shmoove |
|
shmoove, I'm not sure that this will work for WAP Push messages.
Have you ever tried it? The point is, that WAP Push messages to be handled as WAP Push messages have to be sent to the specific port. Just the same way as ringtones or screen pics have their own ports. If you don't specify port at all, SMS will come to the general inbox.. and probably will be shown as a text. fluffy_bunny Somewhere on the Forum Nokia there is a document about Smart Messaging or Smart Messages. There is a list of SMS ports used for different purposes. Then check WMA specification to see which ports are allowed for usage from Java. I can't recall it clearly, but I think that WAP Push port is prohibited for Java MIDlets |
|
No I don't know how to construct a WAP Push message, but if I did I would send it without a port number to let the phone take care of it. Of course if a WAP push message needs to be sent to a specific port then I'm talking nonsense.
shmoove |
|
Take a look here http://www.nowsms.com/discus/messages/132/518.html
|
|
All,
thanks for the replies. I realise that WAP Push messages have a specific port, however my problem is as follows: I send a message to the mobile handset on a specific port i.e port 1000 so that my J2ME application can process the message. Once the J2ME application has processed this message, I want to forward this message on to the WAP Push stack of the mobile handset, so it treats the message as a WAP push message - Is this possible via a J2ME application? Regards, |
| fluffy_bunny |
| View Public Profile |
| Find all posts by fluffy_bunny |
|
You could try to send the message to yourself, but I doubt that would work. A second option would be to reply to a server after your app processes the message and have the server send the WAP push message.
shmoove |
|
hi!
could anyone send me a full code in j2me, sending and receiving sms from pc to cell phone? im developing a project a SMS based inquiry system. i use a cell phone nokia 2600c as my gsm modem. you can e mail to this account javathesis_dave@yahoo.com im looking forward for you guys to send me a code. i really need your help. thanks!!! |
| javathesis_dave |
| View Public Profile |
| Find all posts by javathesis_dave |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|