从Windows Phone应用程序使用Windows Azure发送SMS [英] Sending SMS using Windows Azure from a windows phone application

查看:74
本文介绍了从Windows Phone应用程序使用Windows Azure发送SMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以使用Windows Azure服务(使用API​​)从Windows手机发送短信吗?

Hi,Can we send SMS from a windows phone using windows azure services(using API)?

Windows Azure中是否有任何附加功能可以向手机发送短信电话,像SendGrid邮件发送?

Is there any add-on in windows azure to send SMS to mobile phones, like SendGrid for mail sending?

推荐答案

我只想确认我理解你的问题:

I just want to confirm I understand your problem:

1。您有一个正在运行的Azure服务,它通过推送通知或后台代理通知电话应用程序

1. You have an azure service that is running that notifies a phone application either through push notifications or via background agent

2。然后你想要后台代理或通知来启动短信吗?

2. You then want the background agent or notification to fire off an sms?

这个解决方案存在一些问题,用户需要进行交互并将应用程序带到前台您要启动SMS撰写任务

There are a couple of issues with this solution in that the user would need to interact and bring the application to the foreground for you to launch the SMS compose task

SmsComposeTask smsComposeTask = new SmsComposeTask();

smsComposeTask.To = "2065550123";
smsComposeTask.Body = "Try this new application. It's great!";

smsComposeTask.Show();

这仍然只会显示一条新的短信,其中包含用户需要点击发送的内容。如果您对用户交互部分没问题,那么请确定。不幸的是,我怀疑你希望这种情况自动发生,然后答案是否定的。

This will still only show a new text message with the contents that the user will need to hit send on. If you are ok with the user interaction part then sure. Unfortunately I suspect you want this to happen automatically then the answer is no.

如果不是你想要的答案,我希望这会有所帮助。

I hope this helps sorry if it wasn't the answer you were looking for.


这篇关于从Windows Phone应用程序使用Windows Azure发送SMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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