简体   繁体   English

Windows Phone短信通知

[英]Windows Phone Call SMS Notification

I want my app to know if there are any missed calls or unread sms in the phone. 我想让我的应用知道手机中是否有未接来电或未读短信。
Is this possible in Windows Phone 8? Windows Phone 8中可以吗?
How? 怎么样?

I wish to connect to a Bluetooth device which has a led attached and make it blink if there are notifications. 我希望连接到连接有LED的蓝牙设备,如果有通知,请使其闪烁。

The application will run in the background. 该应用程序将在后台运行。

Currently there's no API for that. 当前没有用于此的API。

It might be added in future versions of the system: WPDev Feedback: Allow readonly access to Call History and Text History 可能会在系统的将来版本中添加它: WPDev反馈:允许对“呼叫历史记录”和“文本历史记录”的只读访问

With UWP (Universal Windows Platform, AKA Windows 10), you now have increased access to SMS (send and receive) through Windows.Devices.SMS. 使用UWP(通用Windows平台,又名Windows 10),您现在可以通过Windows.Devices.SMS增加对SMS(发送和接收)的访问。 Here is a sample app 这是一个示例应用程序

NOTE: You will have to request special access permissions, but it isn't as restricted as it was before. 注意:您将必须请求特殊的访问权限,但是它没有以前的限制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM