×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    103

    SMS sent to particular port

    Hi all
    i want some information on SMS sent to particular port in J2ME ,i.e there is 2 application
    1)1st application will send the SMS to a port 16000 and
    2)2nd application will listen on port 16000 , as it recives message on that port it display the recived message on the handset.

    so i want to known that SMS sent to the paticular port(16000) will be stored inside the device/port ? (or will SMS only be available during the notification i.e will device will atutomatically deletes the SMS on port )

    if the SMS is stored then is it required to delete the SMS ?

    How to delete SMS that is recived on particular port in J2ME?

    Regards
    Divya

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: SMS sent to particular port

    If the application is running, the message will be delivered to the application, and will not be stored.

    If the application is not running, but is registered to that port in the push-registry, then the application will be launched and everything will proceed as above.

    If the application is not running, and there is no push-registration, the message will go to the normal SMS inbox like any other message.

    Graham.

  3. #3
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    103

    Re: SMS sent to particular port

    Quote Originally Posted by grahamhughes View Post
    If the application is running, the message will be delivered to the application, and will not be stored.

    If the application is not running, but is registered to that port in the push-registry, then the application will be launched and everything will proceed as above.

    If the application is not running, and there is no push-registration, the message will go to the normal SMS inbox like any other message.

    Graham.
    is it required to clear the push registry ,will it get full at any point

  4. #4
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: SMS sent to particular port

    The push-registry doesn't store messages. It is just a list that associates applications with port numbers.

  5. #5
    Regular Contributor
    Join Date
    Jan 2009
    Posts
    103

    Re: SMS sent to particular port

    Quote Originally Posted by grahamhughes View Post
    The push-registry doesn't store messages. It is just a list that associates applications with port numbers.
    ok thanks for the information so no need to worry of the SMS sent to particular port

  6. #6
    Registered User
    Join Date
    Sep 2007
    Location
    Bangalore
    Posts
    868

    Re: SMS sent to particular port

    Hi,

    If the application is not running, and there is no push-registration, the message will go to the normal SMS inbox like any other message.
    It is not necessary like If the application is not running, and there is no push-registration, the message will go to the normal inbox. It won't happen in all the phones. If I am wrong please correct me.

  7. #7
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: SMS sent to particular port

    My understanding is that messages to ports that are not associated with any app should go to the inbox. This ensures that the user still sees messages like MMS pushes, even if their phone doesn't understand them.

    However:

    1. I don't have any documentation that states this, so it's quite possible that I'm wrong.

    2. Even if I'm right, it doesn't mean that all phones work correctly.

    Cheers,
    Graham.

  8. #8
    Super Contributor
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330

    Thumbs up Re: SMS sent to particular port

    First of all if some sms is listen on some specific port then it is necessary that the application should be in active state to listen that sms. If the application is not running then the sms will got to native inbox. But if ur application is registered to some port through pushregistry then ur application will get invoked by AMS. There is no any storage box which stores the sms's sent to specific port but not listened by application due to its current inactive state. In this situation Sms will go to nativa inbox.
    thanks,
    jitu_goldie..

    KEEP TRYING..

Similar Threads

  1. Listening to SMS sent without any port number - in J2ME
    By ullas.kris in forum General Messaging
    Replies: 3
    Last Post: 2010-01-04, 09:57
  2. how to email sms specifying a port number?
    By dukehoops in forum General Messaging
    Replies: 2
    Last Post: 2004-04-27, 12:38
  3. What is the default SMS port? Is there aby default port at all?
    By doctordwarf in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2003-07-15, 16:39

Posting Permissions

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