单击Btn后的电话号码 [英] Call number after clicking Btn
问题描述
你好
我已经开始为Windows Phone开发应用程序,所以请耐心等待.我想在用户单击按钮后发送USSD消息.我相信发送USSD与拨打特定号码没有区别.我一直在寻找anwser,因为 虽然没有成功.我如何拨打专用号码,例如"123456"?从代码背后,在ButtonClick方法中?
I have already starded developing apps for windows phone, so please be patient with me. I want to send USSD message after user click a button. I believe that sending USSD is no diffrent then calling specyfic number. I was searching for an anwser since a while but with no success. How can i dial specyfic number, for example "123456" from codebehind, in ButtonClick method?
gsiewruk.
推荐答案
Placing calls, sending sms messages, etc. are all handled in the Microsoft.Phone.Tasks Namespace and require user interaction to confirm the placing of the call, sending an SMS, etc.. You also do not get confirmation on how the user replied to the "Call/Don't Call," "Send/Don't Send," etc. prompts presented by the API. (Look at the calls available in the namespace to see what type of response is sent back, if any.)
这篇关于单击Btn后的电话号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!