×

Discussion Board

Results 1 to 7 of 7

Thread: Read SMS

  1. #1
    Registered User
    Join Date
    Dec 2009
    Location
    chennai
    Posts
    137

    Question Read SMS

    Hi,

    Is this possible to read a SMS before sending into inbox?
    How its possible?
    Bharath... :)

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: Read SMS

    Its not possible to read SMS before it reach native inbox with a Java app. But its possible to do with Symbian C++

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    Dec 2009
    Location
    chennai
    Posts
    137

    Re: Read SMS

    Hi,

    Is possible to read the SMS after receiving into inbox?
    And i need to read from particular number.
    Bharath... :)

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: Read SMS

    Quote Originally Posted by bhakki View Post
    Hi,

    Is possible to read the SMS after receiving into inbox?
    And i need to read from particular number.
    You can't access the native message box related stuff like Inbox, Sent Message or etc.

    However if you want to read the SMS from the port the what you can do is just you send the SMS on the specific port and then you can read that SMS using your Java ME application.You keep on listening the port and as soon as the port receive the SMS you can read the same.There are many examples on the web related to this.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Registered User
    Join Date
    Dec 2009
    Location
    chennai
    Posts
    137

    Re: Read SMS

    THanks raj. and what is the default port for receiving the SMS?
    Is this port number is same for all mobiles?
    Bharath... :)

  6. #6
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Read SMS

    What do you mean by "default port"? The port for Inbox?
    If you think of creating a MIDlet which would be listening that port to see the "normal" messages, that will not work.

    In general you can use SMSs in Java in the following way. You choose a port your application will use (there is a range of allowed ports in there). You send messages to that port and your MIDlet on the device listens to that port and receives the messages. With PushRegistry your MIDlet can also receive the messages even if your MIDlet is not running.

    Hartti

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Read SMS

    Quote Originally Posted by bhakki View Post
    THanks raj. and what is the default port for receiving the SMS?
    Is this port number is same for all mobiles?
    If you are targeting this on Symbian devices, you can do it using Symbian program or on-device server that provide this info to your j2me app. In j2me you can not access P2P SMS coming on the device Inbox.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

Similar Threads

  1. Question: can OTA SMS (WBXML binary) be read by SMS API
    By paipeng in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-02-20, 15:36
  2. Replies: 5
    Last Post: 2009-02-20, 12:23
  3. How to detect new unread sms and read the sms
    By exlim in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-05-28, 08:22
  4. Replies: 2
    Last Post: 2007-04-17, 12:00
  5. Replies: 9
    Last Post: 2004-03-24, 07:53

Posting Permissions

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