You Are Here:

Community: Developer Discussion Boards

#1 Old Recieving SMS with Java... - 2004-11-11, 16:17

Join Date: Sep 2004
Posts: 6
Location: Sweden
zeihor
Offline
Registered User
Hi!

I'm wondering if it is possible to use the MIDlet-Push-attribute of jad-file to register the midlet to recieve sms on Nokia phones? I want the phone to start my midlet when it recieves the sms, but currently the phone simply displays it as a simple sms. (I'm using the 9500 communicator)

Where can I find documentation on this subject?

Thanks!

Best Regards,
Pavel Denissov, developer@Securitas
Reply With Quote

#2 Old 2004-11-11, 21:05

Join Date: Mar 2003
Posts: 258
Location: Moscow/Russia
Send a message via ICQ to henson2K
henson2K
Offline
Regular Contributor
You can't handle ordinary sms with J2ME
They must contain a special header with defined port number.
Reply With Quote

#3 Old 2004-11-14, 15:54

Join Date: Sep 2004
Posts: 6
Location: Sweden
zeihor
Offline
Registered User
That is exacly what I do as well. I define the Push-port in the jad-file as following:

MIDlet-Push-1: sms://:666, MyMIDlet, *

This is supposed to make all sms incoming on port 666 be sent to the MyMIDlet-application, starting it up if necessary.

I then send the sms with the UDH difined as this:

060504029A0000

where 029A is 666 in hex. This procedure works very well on Sony-Ericsson P900 but fails on Nokia Communicator, so what I was wondering what I have to do to get it working on Nokia.

Thank you!
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