Launching a MIDlet with Service Indic... Search Search

Now SMS/MMS Gateway » Now.WAP Proxy (Product Support Only) » Launching a MIDlet with Service Indication from NowSMS « Previous Next »

Author Message
Atif Razzaq
New member
Username: Atif37

Post Number: 1
Registered: 05-2007
Posted on Thursday, May 24, 2007 - 11:26 pm:   

Hi all
I am sending an PAP Push message of service indication which contains XML content to NowSMS PPG that is successfully delivered to handset. Now i want to launch a midlet when i get that Service Indication on handset, i think MowSMS PPG sends Service Indication to port 2948, if i try to register the midlet with push registry with this port number, handser doesnt allow me to install it. Now i can register it with some other port number but then i will have to send WAP Push Service Indication to that port which is registered for my midlet. Is this possible? if yes how can i configure NowSMS to send WAP Push to that port. Please help me!
Thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7199
Registered: 10-2002
Posted on Monday, June 18, 2007 - 04:29 pm:   

Hi,

Are you sure that you want to send a WAP Push (using the actual WAP Push format)?

Or do you just want to send an SMS message to a specific port for which your application has registered?

We made it a little simpler to send a message to a specific port in the upcoming full NowSMS 2007 release in that we added a "Destination Port" parameter to the "Send Text Message" form in the web interface (and a corresponding URL parameter "&DestPort=XXXX").

But it's still pretty easy using NowSMS 2006 ...

From the web form, use the "Send Binary Message Other" form, specify a user data header (UDH) of:

060504xxxxyyyy

Where xxxx is the destination port in hex, and yyyy is the source port in hex. (If the source port is not important, replace it with 0's.)

In the "Binary Data" field, put in your text, and leave the DCS as 0. (If you want to send binary data, put the hex string for the binary data in the "Binary Data" field, and use a binary DCS value such as 4.)

I suspect that instead of sending a WAP Push to a non-standard port, this is what you really want to do.

Within the WAP Push framework, it is possible to register applications on the handset to receive WAP Push messages that contain a particular content type ... which is the other alternative. But it's generally a lot easier to just send an SMS message to a specific port that your application is listening on.

-bn

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to register with this discussion board.
Password:
Options: Automatically activate URLs in message
Action:

Search Search Tree View Tree View   Home Home
Login Login / Register Topics Topics Search Last 1|3|7 Days   Previous Page Previous Next Next Page

© Copyright 2002-2007 by Now Wireless Limited
Airport House, Purley Way, Croydon, London, CR0 0XZ, UK
UK Tel: +44-20-8286-8080 US Tel: +1.410.833.8711
email : nowsms@now.co.uk