简体   繁体   English

如何同时定位Windows Phone 8和7.5

[英]How to target both windows phone 8 and 7.5

My app is ready and is too simple, just a panorama and some pivots, nothing specific to windows phone 8. 我的应用程序已经准备就绪,太简单了,只是一个全景图和一些透视图,而Windows Phone 8则没有。

Before sending it I want to make sure that it will work on WP8 and also WP OS 7.1. 在发送之前,我想确保它可以在WP8以及WP OS 7.1上运行。 I saw in the documentations that if we target 7.1 it will work on 8 too, but at the first I have choosed targeting windows 8 and now seems I can't change it in the App properties. 我在文档中看到,如果我们以7.1为目标,它也可以在8上运行,但是起初我选择了以Windows 8为目标,现在看来我无法在App属性中对其进行更改。

  • How can I know if it will work on OS 7.1 properly? 我怎么知道它是否可以在OS 7.1上正常工作? ( I have not access to emulator, just a WP8 device) (我没有访问模拟器,只有WP8设备)
  • How can I make it to work on both systems? 如何使它在两个系统上都能工作?

just a panorama and some pivots, nothing specific to windows phone 8. 只是一幅全景图和一些透视图,与Windows Phone 8无关。

Panorama and Pivot are specific to WP8, as the implementation of the controls were completely changed to have better performance on WP8. Panorama和Pivot特定于WP8,因为控件的实现已完全更改为在WP8上具有更好的性能。

So your code won't be compatible with 7.1 at all. 因此,您的代码根本不会与7.1兼容。 So unless you want to write a WP7 app and let it run on WP8 with worse performance than a WP8 app, you cannot have a shared UI codebase. 因此,除非您要编写WP7应用程序并使其以比WP8应用程序更差的性能在WP8上运行,否则您将无法拥有共享的UI代码库。

For libraries, I'll recommend using Portable Class Librarie 对于库,我建议使用可移植类库

Your 7.1 app will work fine on Windows Phone 8 without any additional modifications. 您的7.1应用程序无需任何其他修改即可在Windows Phone 8上正常运行。

I believe you meant that you have access to the emulator only and not a device , otherwise it would be really easy to check how the app behaves on Windows Phone 8 hardware. 我相信您的意思是您只能访问仿真器,而不能访问设备 ,否则检查该应用程序在Windows Phone 8硬件上的行为将非常容易。

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

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