我能Windows Phone应用程序自动启动? [英] can my windows phone application auto start?

查看:185
本文介绍了我能Windows Phone应用程序自动启动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一段时间了,而不是一个通知后,我的应用程序来自动启动的方法吗?还是我的约束,只是通知?

Is there a way for my application to auto-start after some time instead of a notification? Or am I constrained to just notifications?

推荐答案

Android和Windows Phone(您在您的评论中提到的Android)之间的区别在于, Android版可以让你做几乎一切,而Windows Phone是一个非常有限的系统。所以,很遗憾,答案是否定的。 (有办法推出从其他地方比应用程序的瓷砖您的应用程序,不过,一看便知的结尾)

The difference between Android and Windows Phone (you mentioned Android in your comment) is that Android allows you to do pretty much everything while Windows Phone is a very restricted system. So, unfortunately, the answer is no. (There are ways to launch your app from other places than the app's tile, though. See the end of the answer)

为什么我说很遗憾?当然,Windows Phone是一个运行美妙即使在低规格的设备,如520的Lumia但是,这并不意味着开发商不应该得到的自由与操作系统交互,做创新的任务,一个很好的和寻求操作系统。

Why am I saying unfortunately? Of course, Windows Phone is a nice and seek operating system that runs wonderful even on low-spec devices like the Lumia 520. But that doesn't mean developers shouldn't get the freedom to interact with the Operating System and do innovative tasks.

但也有原因,微软选择不允许自动启动(或者至少限制区域的应用程序可以访问,没有特别的自动启动):

But there are reasons Microsoft chose not to allow Autostart (or at least, restrict the area an app can access, not the autostart in particular):


  • 这可能会刺激客户。即使你显示一个消息框,很多客户只是关闭它没有阅读它,他们不明白为什么一个应用程序似乎没有他们的互动

  • 每个功能会使操作系统变慢,大。我不想说一个自动启动使手机无法使用,但这里有一个问题:你需要从时间运行您计算机上的注册表清洁时间?是的,你需要做,所以你甚至需要重新安装一台PC形式时有发生。你不需要做一个Windows Phone的。这只是工作,并会一直工作(好吧,这也许有点过于乐观,但你得到它...)

我也不要以为一个自动启动是在移动特别有用。因为每个应用程序全屏运行时,系统会启动到您的应用程序,而不是到开始屏幕。我不认为用户总是希望你的应用程序(大部分的时间,他会想看看他的启动画面或启动另一个应用程序),所以这纯粹是讨厌。在PC上,你可以使用应在后台运行小程序自动启动(例如,我有一个progamm提供的Git与我的SSH密钥,可自动在每次启动时)。

I also don't think an autostart is particularly useful on a mobile. Because each app runs full screen, the system would boot up to your app instead of to the start screen. I don't think the user will always want your app (most of the time, he'll want to look at his start screen or launch another app), so it would just be annoying. On a PC, you can use the auto start for small programs that should run in the background (for example, I've got a progamm that provides Git with my SSH keys that automatically starts up each time).

但正如我上面提到的,还有其他的方式来启动应用程序。使用URL方案可以是异常强大的,你可以把一个网页,将直接启动应用程序上的一个按钮。其他应用也将可以启动应用程序。但因为它不是直接你想知道什么,我不会详细解释它,而是为您提供一个室内用gread链接MSDN:的自动发射使用文件和URI关联的Windows Phone应用8

But as I mentioned above, there are other ways to launch your app. Using url schemes can be surprisingly powerful as you can put a button on a web page that will directly launch your app. Other apps will also be able to launch your app. But as it is not directly what you wanted to know, I won't explain it in detail and instead provide you wiht a gread link to msdn: Auto-launching apps using file and URI associations for Windows Phone 8

这篇关于我能Windows Phone应用程序自动启动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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