Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > How to code to send & receive SMS using iPhone SDK??

How to code to send & receive SMS using iPhone SDK??
Thread Tools
joyjit_b
Fresh-Faced Recruit
Join Date: Aug 2008
Status: Offline
Reply With Quote
Aug 19, 2008, 02:08 AM
 
Hi,
Is it possible to code to send & receive SMS using the iPhone SDK??
If Yes, please provide a sample code for it..

Thanks in advance...
     
SirCastor
Professional Poster
Join Date: Jan 2001
Location: Salt Lake City, UT USA
Status: Offline
Reply With Quote
Aug 21, 2008, 03:10 PM
 
I'm not certain, but I'd guess that the answer is no. So far as I know, the SDK doesn't have access to the iPhone's phone capabilities.
2008 iMac 3.06 Ghz, 2GB Memory, GeForce 8800, 500GB HD, SuperDrive
8gb iPhone on Tmobile
     
Arkham_c
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Aug 22, 2008, 09:10 AM
 
Found this by googling:

Actually, he was answering your question... the iPhone uses URLs as an IPC mechanism, so (for example) one calls openURL on the UIApplication passing in a URL starting with "tel:" to dial the phone for example. I believe the URL scheme for SMS messages is "sms:", however this will only launch the SMS application and allow the user to start typing; there is no way to "drive" the SMS application (other than possibly identifying the intended recipient of the potential text message).

There is no way to "intercept" sms messages sent to the phone for processing in your application. The built in iPhone SMS application will always handle this.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
dancinglipstickpig
Fresh-Faced Recruit
Join Date: Apr 2009
Status: Offline
Reply With Quote
Apr 2, 2009, 01:04 AM
 
Originally Posted by Arkham_c View Post
So how exactly does one code a text messaging iphone app/program?
http://www.electricianalexandria.com
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 08:48 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,