Discussion Board

Results 1 to 7 of 7

Thread: Read SMS

  1. #1
    Registered User bhakki's Avatar
    Join Date
    Dec 2009
    Location
    chennai
    Posts
    137
    Hi,

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

  2. #2
    Nokia Developer Champion balagopalks's Avatar
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,427
    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 bhakki's Avatar
    Join Date
    Dec 2009
    Location
    chennai
    Posts
    137
    Hi,

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

  4. #4
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    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 bhakki's Avatar
    Join Date
    Dec 2009
    Location
    chennai
    Posts
    137
    THanks raj. and what is the default port for receiving the SMS?
    Is this port number is same for all mobiles?
    Bharath... :)

  6. #6
    Nokia Developer Champion hartti's Avatar
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192
    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 im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,917
    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
    (Poster of the Month -Dec'12)
    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. how to read sms from inbox? (not receive sms)
    By cormen in forum Symbian C++
    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
  •  
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