简体   繁体   English

我可以在Windows 8 RT上运行Windows Phone 8,反之亦然吗?

[英]Can I run windows phone 8 on windows 8 RT and vice versa?

Can I run RT apps on windows phone, or windows 8 phone apps on windows 8 RT or PRO? 我可以在Windows Phone上运行RT应用程序,还是在Windows 8 RT或PRO上运行Windows 8 Phone应用程序?

If I need to develop an app to run on RT tablets and on windows 8 phones, what should I do? 如果我需要开发在RT平板电脑和Windows 8手机上运行的应用程序,该怎么办?

EDIT 编辑

When Microsoft will provide a unified way to develop apps???? 微软何时会提供统一的方法来开发应用?

Am I requested to develop tons of apps to run on all of Microsoft platforms, I am not an Apple fan at all, but Microsoft should learn more and more from them, I spent and am spending all of my time chasing Microsoft techniques, it is very very annoying!!! 我是否要求开发大量可在所有Microsoft平台上运行的应用程序,我根本不是Apple迷,但是Microsoft应该从它们中学到更多,我花了很多时间在追赶Microsoft技术上,非常非常烦人!!! :( :(

No, 没有,

But you can share code through the use of Portable Class Libraries or linked files. 但是您可以通过使用可移植类库或链接文件来共享代码。

I recently wrote two articles about how to achieve this: 我最近写了两篇有关如何实现这一目标的文章:

The first one is about whether to choose PCL's or linked files: http://www.kenneth-truyers.net/2013/03/27/portable-class-libraries-or-source-code-sharing/ 第一个关于是否选择PCL或链接文件: http : //www.kenneth-truyers.net/2013/03/27/portable-class-libraries-or-source-code-sharing/

The second one is about how to work around the limitations of PCL's: http://www.kenneth-truyers.net/2013/02/24/patterns-for-sharing-code-in-windows-phone-and-windows-8-applications/ 第二个是关于如何解决PCL的局限性的: http : //www.kenneth-truyers.net/2013/02/24/patterns-for-sharing-code-in-windows-phone-and-windows- 8个应用程序/

No. The two runtimes are not compatible. 否。这两个运行时不兼容。

If I need to develop an app to run on RT tablets and on windows 8 phones, what should I do? 如果我需要开发在RT平板电脑和Windows 8手机上运行的应用程序,该怎么办?

You can use the portable class libraries to save logic , but not the presentation code. 您可以使用可移植的类库保存逻辑 ,但不能保存表示代码。

You would then build your UI on each platform, using the appropriate tools for the platform. 然后,您可以使用适用于该平台的工具,在每个平台上构建UI。

You can't just run a xap on a tablet. 您不能只在平板电脑上运行xap。 You CAN however take almost all of the XAML and C# uncompiled code and recompile for the tablet. 但是,您可以获取几乎所有XAML和C#未编译的代码,然后为平板电脑重新编译。 You just need to fix some of the idiosyncrasies in the syntax. 您只需要修复语法中的某些特质。 Same goes for Windows 8 Pro. Windows 8 Pro也是如此。

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

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