当我在下面使用这段代码时,它会启动消息传递应用程序,我不希望这样。我想在我的应用程序中发送短信。怎么做。有任何想法吗 ?
代码
SmsComposeTask smsComposeTask = new SmsComposeTask();
smsComposeTask.To = "9012345566778"; // Mention here the phone number to whom the sms is to be sent
smsComposeTask.Body = "Hello! How are you"; // the string containing the sms body
smsComposeTask.Show(); // this will invoke the native sms edtior