问题描述
WindowsPhone7 mango 中是否有类似 AlarmManager(Android) 的东西,它会在闹钟响起时启动应用程序?就像在 android 中我们有 http://developer.android.com/reference/android/应用程序/AlarmManager.html但是在 WindowsPhone7 中,我们有这个 http://msdn.microsoft.com/en-us/library/hh202965(v=vs.92).aspx
Is there something like AlarmManager(Android) in WindowsPhone7 mango, which will launch the app when the alarm goes off ?Like in android we have http://developer.android.com/reference/android/app/AlarmManager.htmlBut in WindowsPhone7 we have this http://msdn.microsoft.com/en-us/library/hh202965(v=vs.92).aspx
推荐答案
应用程序在 Windows Phone 7 中启动的唯一方式是响应用户操作.
The only way for an application to be started in Windows Phone 7 is in response to a user action.
这些包括:
- 从应用程序列表启动
- 从活动磁贴启动
- 通过点击为该应用发送/从该应用发送的 Toast 消息启动
- 通过点击由该应用创建的提醒显示的 UI 启动
These include:
- launching from the application list
- launching from a live tile
- launching by tapping on a toast message sent for/from that app
- launching by tapping on the UI displayed from a reminder created by that app
这篇关于WindowsPhone7 mango 中有没有类似AlarmManager(Android) 的东西,闹钟响起时会启动应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!