问题描述
我正在使用VS2012-professional开发适用于Windows手机的应用程序并安装了SDK 8.0。我处于两难境地这种设置 我可以 开发一个在所有Windows手机上运行的应用程序,或者它只能在拥有
OS 7.1和8.0的Windows手机上运行?
I am developing apps for windows phone using VS2012-professional and installed SDK 8.0. I am in dilemma that with this setup Can I develop an app which runs on all windows phone or it will only be run on windows phone which is having OS 7.1 and 8.0?
我的第二个问题是,
是否有可能开发一个可以在Windows手机上运行的应用程序,并且可以在我的计算机上运行Windows作为具有Windows的计算机8.0操作系统?如果可以,则无需编写2次代码。 Metro应用程序第一次
,windows phone第二次。
Is it possible to develop an single app which will run on windows phone and also run as a metro app on my computer which has Windows 8.0 operating system? If this is possible then there is no need to write code for 2 times.i.e. 1st time for Metro app and second time for windows phone.
真的很感谢这方面的帮助。
Really appreciate help on this.
推荐答案
如果你想要一个能在Windows Phone 7,8和8.1上运行的应用程序你必须开发一个Windows Phone 7应用程序(你可以在vs2012上完成)。
If you want an app that will run on Windows Phone 7, 8 and 8.1 you have to develop a windows phone 7 app (you can do it on vs2012).
如果你想要一个可以在Windows 8.1和Windows Phone上启动的应用程序8.1(以前版本不提供)您必须编写通用应用,您最多可以在应用之间共享90%的代码。
If you want an app that can be launched on Windows 8.1 and Windows Phone 8.1 (not available on previous version) you have to write a universal app, you'll have up to 90% of code shared between apps.
这篇关于为所有Windows Phone开发Windows Phone应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!