简体   繁体   English

如何在WP8的主屏幕上通知用户?

[英]How to inform the user on homescreen in WP8?

I need to port an Android app which has a widget to WP8. 我需要将具有小部件的Android应用程序移植到WP8。

In Android the widget shows a countdown which is updated in the background automatically - even when the user has quit the app.The countdown starts at a certain pre-programmed time and just counts down - all donw without the user having to start the app in Android. 在Android中,小部件会显示一个倒计时,即使用户退出了该应用,该倒计时也会在后台自动更新。倒计时从某个预先设置的时间开始,并且只是倒计时-所有操作都无需用户启动应用安卓

Is there some kind of similar functionality on WP8 with the tiles? 瓦片上的WP8是否有某种类似的功能? The app does not interact with internet and does not receive any external messages like email that can cuase the countdown to work. 该应用程序无法与互联网互动,并且不会收到任何外部消息(例如电子邮件)来促使倒计时工作。 It needs to all happen automatically. 它需要全部自动发生。

This is not possible in WP8 (or WP7). 在WP8(或WP7)中这是不可能的。

At best you can update your app's tile on the homescreen once every half hour (best-case!). 充其量,您可以每半小时更新一次主屏幕上的应用程序磁贴(最好的情况!)。 It sounds like you want to update more frequently than that. 听起来您想要更新的频率更高。

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

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