Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User coolste23's Avatar
    Join Date
    Aug 2005
    Posts
    15
    Hi,

    I want to receive a WAP-PUSH SMS sent to my mobile phone with my J2ME application. Here is the scenario:

    I'm developing an IMPS Java client which communicates with an IMPS server using WAP-PUSH over SMS as the preferred CIR.

    The server application will send a WAP-PUSH SMS over a PPG to the phone. The PPG sends it to the port 2948 which is reserved for the connectionless session protocol in J2ME(WMA). I cannot open a listener on this port because it is reserved. From what I know is that the AMS of the phone should parse the application id of the SMS and forward it to the application that has registered for it.

    Here comes my problem: How do I register my application to receive the WAP-PUSH SMS in Java?
    Also, I read that the first application who registers an id with the AMS will get all SMS and consume them. So if a native application already has registered for the application id I have to use is there no way I can receive the SMS in my application?

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    I think you already answered yourself. You cannot open a listener to that port, so you cannot listen to these messages.
    Or did I misunderstand your question?

    Hartti

  3. #3
    Registered User coolste23's Avatar
    Join Date
    Aug 2005
    Posts
    15
    Yes, I cannot listen for incoming SMS on this port in the conventional way, i.e. open a Listener since it is restricted. What I like to know is, if there is a way to still be notified if such an SMS is received. Maybe via the push registry?

    I think there has to be a way to access the WAP PUSH SMS, because this is part of the WSP defined by the OMA and I would think that they would not define a protocol that cannot be accessed by Java.

  4. #4
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    coolste23, there is no workaroudn for this, unfortunately

    Hartti

Similar Threads

  1. [moved] Receiving WAP Push message
    By doctordwarf in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2008-10-01, 06:20
  2. The SMS format for WAP Push messages.
    By nkn_codeboy in forum Mobile Web Site Development
    Replies: 4
    Last Post: 2006-07-29, 13:21
  3. WAP PUSH with SMS
    By chokobo_k in forum General Messaging
    Replies: 2
    Last Post: 2005-06-09, 02:14
  4. WAP Push in J2ME client/server Application using Nokia's Personal WAP gateway
    By shaswata_jash in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-03-07, 10:28
  5. WAP Push - SMS - Nokia 3410?
    By gjohre in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-09-18, 12:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved