Results 1 to 5 of 5

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: [question] SMS API

  1. #1
    Default [question] SMS API
    Is there any API out there in Objective C/Java/C/C++... which allows me to send and more importantly receive SMS from my iPhone?

    I've read the source code of iSMS, aSMS and apparently:
    - To send SMS, they open a socket-like connection to /dev/tty.debug and send the encoded messages there
    - To receive SMS (or actually just display received messages), they just read the sms.db file in /private/var/mobile/Library/SMS to query for new messages, they didn't really listen to a port or something

    Of course I might be wrong because my knowledge about those things is very limited.

    What should I do some researches on to know more about this? Thank you.

  2. #2
    "- To send SMS, they open a socket-like connection to /dev/tty.debug and send the encoded messages there"
    Would like to try something similar, but I just cant find a legal SDK reference way to send an SMS from an my application.. Did you find a way, jet? Any help would be gladly appreciated!

  3. #3
    Question need help
    Hi,
    I am using the same thing for sending sms like in isms app,
    but in device.h , fd = open("tty.debug") is returning -1 and my application got terminated. any idea for that. why is this and what should i do? in my application i m sending sms to some persons with some message and i got stuck here ?
    help me if you know some thing about this.
    Thanks

    n@ren

  4. #4
    You need to open("/dev/tty.debug")
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

  5. #5
    Default Sms Api
    Yes i am using open("/dev/tty.debug"........)
    but it is returning -1
    in what case it will return -1.
    and my application got terminated by status 1.
    i dont have any idea about it.
    is there any other way to send sms with my own application.
    if you know please reply?
    thanks

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