The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-14-2008, 03:01 AM
What's Jailbreak?
 
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
[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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 08-14-2008, 02:47 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Quote:
"- 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!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 01-07-2009, 03:47 AM
What's Jailbreak?
 
Join Date: Jan 2009
Operating System: MAC
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 01-07-2009, 05:48 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,231
Thanks: 45
Thanked 202 Times in 162 Posts

You need to open("/dev/tty.debug")
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 01-12-2009, 12:49 AM
What's Jailbreak?
 
Join Date: Jan 2009
Operating System: MAC
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 04:23 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top