views:

70

answers:

3

Hi
I have gone through
http://blog.mugunthkumar.com/coding/iphone-tutorial-how-to-send-in-app-sms/
for sending sms from Iphone.
this is giving me alertView with message textMessage is not enabled on this device.
plz suggest me where is the problem.

Thanks for any help/suggetion.

A: 

You can’t send messages from the Simulator.

zoul
OK. Thanks.....
+2  A: 

The iPhone Simulator does not simulate in-app SMS. You can only test this functionality on an iPhone device.

BoltClock
Ok..Thnaks<br>should i try the code on Iphone(device)
plz check the code.
Yes you'll need to install your app on a device and test/debug from there. The code says nothing about the simulator, or any testing for the matter; it just shows you how to implement in-app SMS using code.
BoltClock
tell me one more thing i will send sms in India(Mobile)....so i have to do something for that also....??
You need a messaging contract. Just like when you own a normal mobile phone.
BoltClock
A: 

Hi, I have a doubt in this can we auto send SMS at a particular Date and Time.....

Ramkumar
i don't think that you can send an sms automatically....but i m not sure.