【问题标题】:windows phone application development for windows phone 8 and 10windows phone 8 和 10 的 windows phone 应用程序开发
【发布时间】:2016-04-15 10:44:29
【问题描述】:

我想开发在 windows phone 8 和 10 上运行的 windows 应用程序。

我的依赖只在 windows phone 上,而不是桌面。

我已经使用 C# 和 Xaml 开发了一个在 win7、win8、win10 OS PC 上运行的应用程序。

现在我必须使用 C# 和 Xaml 为 windows phone 8 和 windows phone 10 开发单个应用程序。

我可以重复使用我为 Windows 桌面应用程序编写的代码吗??

谁能指导我最低系统要求是什么以及如何进行。

我阅读了有关 Windows 10 UWP 应用程序的信息,但这不能在 Windows 8 手机上运行。

请指导我。

【问题讨论】:

    标签: c# windows windows-phone-8 windows-phone


    【解决方案1】:

    Windows Phone 与传统的 Windows 应用程序完全不同。 Windows 手机应用程序对 API 的使用有限制。

    目标平台

    由于您希望应用同时在 windows phone 8 和 windows 10 上运行,因此请尝试将您的应用定位到 windows phone 8,因为这将同时在 windows phone 8、windows phone 8.1 和 windows 10 上运行。

    重用代码

    如果您的桌面应用程序使用 MVVM 设计模式,您可以在 Windows Phone 8 应用程序中使用 VM 和模型的大部分代码。但是,您将不得不再次处理 windows phone 8 的 UI。

    【讨论】:

      猜你喜欢
      • 2013-02-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-05
      • 1970-01-01
      • 2015-02-25
      相关资源
      最近更新 更多