Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User ahmed abdelaziz's Avatar
    Join Date
    May 2006
    Posts
    33
    hi all,

    how can i get an sms sent to mobile special port of m application while my application was closed.

    how can i get it when my application start agian.

    best regards.

  2. #2
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    I do not exactly understand what you are trying to achieve.

    If you try to start your application via a SMS message, you should get familiar with PushRegistry functionality.

    If you need to send a SMS message to another device, you should check the Wireless Messaging API (JSR-120)

    Hartti

  3. #3
    Registered User ahmed abdelaziz's Avatar
    Join Date
    May 2006
    Posts
    33
    thanks for replaying,

    i want to recieve sms that comes to mobile while my application was closed.

    now i used PushRegistry and succeded to launch my application when sms recieved at my application port. But, i can't get the sms content the notifyIncommingMessage doesn't notify my application with this sms (PushRegistry sms).

    how can i get its content.

    thanks in advance,

    ahmed.

  4. #4
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    Have you read the PushRegistry Java doc? If I am understanding your question correctly, you have not been able to read the incoming message which started your midlet. That is not handled through notifyIncomingMessage, but by opening "the connection with Connector.open() method to perform whatever I/O operations are needed for the particular connection type."

    Hartti

  5. #5
    Regular Contributor rexwal's Avatar
    Join Date
    Nov 2004
    Posts
    105
    When you receive an SMS (this comes in at port 0 normally) you open an sms connection and the relevant streams.
    E.g.
    MessageConnection mc = (MessageConnection) Connector.open("sms://3000");
    InputStream is = mc.openInputStream()

    hartti you should've replied with RTFM? :P

Similar Threads

  1. automatic sms sending application
    By jason_rency in forum General Messaging
    Replies: 7
    Last Post: 2010-01-09, 02:36
  2. Replies: 1
    Last Post: 2005-12-01, 23:57
  3. Replies: 0
    Last Post: 2005-11-02, 08:53
  4. Run SMS Application
    By anupamforu in forum Mobile Java General
    Replies: 0
    Last Post: 2004-01-30, 06:40
  5. SMS embeded with another application
    By mihirrath in forum Symbian C++
    Replies: 0
    Last Post: 2003-06-23, 10:40

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