You Are Here:

Community: Developer Discussion Boards

#1 Old J2ME Client to receive WAP Push - 2004-05-28, 12:20

Join Date: May 2004
Posts: 2
fluffy_bunny
Offline
Registered User
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
Reply With Quote

#2 Old 2004-05-28, 16:05

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
If you send a message and you don't specify a destination port, then the message will be handled by native messaging handling.

shmoove
Reply With Quote

#3 Old 2004-05-28, 16:28

Join Date: Jul 2003
Posts: 1,094
Location: Finland, Tampere
doctordwarf
Offline
Super Contributor
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
Reply With Quote

#4 Old 2004-05-28, 17:58

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
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
Reply With Quote

#5 Old 2004-05-28, 18:14

Join Date: Mar 2003
Posts: 258
Location: Moscow/Russia
Send a message via ICQ to henson2K
henson2K
Offline
Regular Contributor
Take a look here http://www.nowsms.com/discus/messages/132/518.html
Reply With Quote

#6 Old 2004-06-01, 17:38

Join Date: May 2004
Posts: 2
fluffy_bunny
Offline
Registered User
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,
Reply With Quote

#7 Old 2004-06-01, 18:13

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
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
Reply With Quote

#8 Old Re: J2ME Client to receive WAP Push - 2009-02-01, 16:27

Join Date: Jan 2009
Posts: 17
javathesis_dave
Offline
Registered User
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!!!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia