Hey... we need to send the sms to that specific port ...we can not read the sms coming to inbox from a j2me app. I did one app once..at that time i used SMSLib a java api to send sms to a particular port and that worked fine :)
On 12/14/07, Angel Gomez <[EMAIL PROTECTED]> wrote: > > > Thank's to both. > > The application is already installed in the mobile > phone and binded to a port ( 16555 in this case ). > Also, we are able to launch it sending an SMS message > with another phone via a j2me app. > > I found this thread in kannel user-list > > http://www.mail-archive.com/[email protected]/msg00410.html > > It seems that I have to include a "udh" in the url I > use to send SMS with kannel, also in "Table 6-16. SMS > Push (send-sms) CGI Variables" of the kannel > documentation is mentiones how to use this udh field, > altough it is never mentioned that you can set the > destination port with it. > > Now, my problem is that kannel complains with a "http: > HTTP/1.0 400 Bad Request" "body: UDH field misformed, > rejected". I'm not formatting the udh field right... I > tried with "%07%06%05%04%40%AB%40%AB" and > "%06%05%04%40%AB%40%AB" to no avail... > > Amy hints on how to specify the udh field for port > 16555 ? > > Regards. > > > > --- Steve Rothwell <[EMAIL PROTECTED]> > wrote: > > > I think the bit that has been missed is that you > > need to register the port in the Push-Registry > > settings in the Jad file also I think, but cannot > > remember in detail, you need code in the app. You > > definitely need code if you want to use the SMS data > > if you don't use the data then just the > > push-registry will probably work. > > > > I have this working in places so if really stuck I > > can dig the code out and take a look. > > > > Steve > > > > -----Original Message----- > > From: info.ubichip [mailto:[EMAIL PROTECTED] > > Sent: 13 December 2007 17:21 > > To: 'Angel Gomez'; [email protected] > > Subject: RE: SMS to launch app in mobile > > > > Hello, > > > > Please be more specific. There is alternative : > > 1/ use wap push to send the application > > Or 2/ personnalized the header UDH in order to > > send the sms to the > > correct port > > > > > > Hope that help > > > > -----Original Message----- > > From: Angel Gomez [mailto:[EMAIL PROTECTED] > > Sent: jeudi 13 décembre 2007 09:08 > > To: [email protected] > > Subject: SMS to launch app in mobile > > > > Hi all. > > > > I 've gone thru the user list archives and the > > documentation, with no > > success, looking for a way to send an SMS message > > with Kannel that launch an > > application in the mobile phone, as far as I know, > > the message needs to be > > sent to a specific port to which the application in > > the mobile phone is > > "binded" to. > > > > Is there a way to specify the port to which the SMS > > message will be > > delivered on the mobile phone ? > > > > TIA > > Regards. > > > > > > > > > > ____________________________________________________________________________ > > ________ > > Never miss a thing. Make Yahoo your home page. > > http://www.yahoo.com/r/hs > > > > > > > > > > > > _____ > > > > Antivirus avast! <http://www.avast.com> : message > > Sortant sain. > > > > > > Base de donnees virale (VPS) : 071213-0, 13/12/2007 > > Analyse le : 13/12/2007 09:17:37 > > avast! - copyright (c) 1988-2007 ALWIL Software. > > > > > > > > > > > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email > > Security System. > > For more information please visit > > http://www.messagelabs.com/email > > > ______________________________________________________________________ > > > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email > > Security System. > > For more information please visit > > http://www.messagelabs.com/email > > > ______________________________________________________________________ > > > > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > > >
