如何在 wp7 中不使用启动器和选择器来撰写消息? [英] How can compose messages without using launcher and chooser in wp7?

查看:25
本文介绍了如何在 wp7 中不使用启动器和选择器来撰写消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 SmsComposeTask 在 wp7 中编写短信.但是在我的应用程序中,我想直接发送消息而不使用 SmsComposeTask 所以请告诉我如何在不使用 SmsComposeTask 的情况下发送短信?

I use SmsComposeTask for composing sms in wp7. but in my application i want to send messages directly without using SmsComposeTask so please tell me how can i send sms without using SmsComposeTask?

推荐答案

你不能.这就是 SmsComposeTask 的用途.SmsComposeTask 将操作从开发人员手中夺走,并确保用户可以确认是否发送 SMS 以及出于安全原因向谁发送.我敢肯定,如果应用程序在未经用户许可的情况下发送消息并用完他们的信用额度,用户很快就会生气:)

You can't. That's what the SmsComposeTask is for. The SmsComposeTask takes the action out of developers hands and ensures that the user gets to confirm whether or not an SMS gets sent and who to for security reasons. I'm sure user's would soon get annoyed if apps were sending messages out and using up their credit without their permission :)

这篇关于如何在 wp7 中不使用启动器和选择器来撰写消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆