SmsComposeTask smsComposeTask = new SmsComposeTask();
smsComposeTask.To = textBox1.Text; // Get recepient's number
smsComposeTask.Body = textBox2.Text; //Get message body
smsComposeTask.Show(); // Invoke the native sms task
[/sourcecode]
SMS Sending user interface.
After Send button is clicked it opens up the native SMS application with message & phone number filled.
Once the user clicks on Send Button on native SMS application, SMS will be sent.
No comments:
Post a Comment