tags:

views:

183

answers:

2

Hi, I am new to iPhone application development. In the application that I am developing for iPhone there is a module which sends the sms without knowing to the user to my sms server and gets the response and displays the result. Is there any way to send and receive sms message in app?

Thanks in advance.

A: 

This is not possible with the iPhone SDK as it stands. It's probably not possible with any mobile platform without the user knowing about it as it's an obvious security hole.

Dolbz
It's certainly possible in Windows Mobile.
Steve Weet
@Steve Weet wow. Is there no opt-in when you first run the app or anything?
Dolbz
I don't believe so. I'm working on a project at the moment that sends location based data via SMS (If Gprs/WiFi is not available) and it does this silently in the background.
Steve Weet
Its possible in many J2ME, BlackBerry and Windows Mobile. Any one has doubt on this try my company app http://shorthandmobile.in/
Manoj Kumar
A: 

I am also working on GPS-based application and I can have the device stop sending SMS back to the user every time the user send an SMS command. I think as long as the SMS is sent, it should be fine.

If the user wants to see the status of the device, then I might have to establish communication between my server and the device via TCP/UDP and have the iPhone app "parse" the information and display the status. Perhaps the best way is to have the server respond to the iPhone app saying "The device received your SMS command" and display it on the app so that the user knows his/her SMS were sent.

But yes, if we could get the location via SMS, then I could send those coordinates to the Google Maps app in the iPhone itself and it would display it for you.

elgrancid