fbpx
维基百科

通用Windows平台

通用Windows平台Universal Windows Platform,简称UWP)是微软公司建立并在Windows 10中首次引入的一个同性質應用程式架构平台。此软件平台的目的是帮助发展Metro样式的應用程式,便于軟體可以在Windows 10Windows 10 Mobile上執行且无需重新編寫。它支援使用C++C#VB.NETXAML开发的Windows應用程式。API采用C++实现,并支持C++、VB.NET、C#和JavaScript[1]。UWP在Windows Server 2012Windows 8中作为一个Windows Runtime平台的扩展被首次引入,允许开发者创建可潜在运行在多种设备类型上的应用程序[2]

Universal Windows Platform
Windows 8.1 的UWP计算器
内置于Windows 10Windows 10 MobileWindows Server 2016
取代Windows Runtime

兼容性 编辑

UWP是Windows 10和Windows 10 Mobile的一部分。UWP應用程式不能在早期的Windows版本上執行。

应用程序能使用Visual Studio 2015进行此平台的原生开发。而面向Windows 8.1Windows Phone 8.1及其两者(通用8.1)的旧版Metro應用程式需要一些修改才能迁移到UWP。[3][4]

2015 Build期间,微软宣布了一个UWP“桥梁”集,允许AndroidiOS软件被移植到Windows 10 Mobile[5]。 Windows Bridge for Android(代号“Astoria”)将允许使用Java或C++的Android應用程式被移植到Windows 10 Mobile和发布到Windows應用程式商店。Windows开发者平台的技术总监Kevin Gallo解释说,该层包含一些限制:Google Mobile服务和某些核心API将不可用,存在“深度集成到后台服务”的應用程式(如通信软件)也不能在此环境下良好运行[6][7]。Windows Bridge for iOS(代号“Islandwood”)是一个开源中间件工具包,允许使用Objective-C开发的iOS软件使用Visual Studio 2015Xcode代码转换为Visual Studio项目以移植到Windows 10 Mobile[8][9][10]。Windows Bridge for iOS的一个早期版本已使用MIT许可证在2015年8月6日发布为一个开源软件,而Android版本仍在内部测试[11]

2016年2月,微软宣布已经收购了位于旧金山的开发Xamarin软件的公司[12]。此次收购后不久,微软宣布将放弃Android bridge项目,并计划支持在Windows 10上运行Android應用程式。他们的关注重点将主要集中在iOS bridge[13]

开发 编辑

UWP是Windows Runtime的一个扩展。采用UWP创建的“通用Windows应用程序”在其清单(manifest)构建中不再采用对特定操作系统的写法,相反,它们采用“通用Windows平台桥梁”针对一个或多个设备族群,例如个人电脑智能手机平板电脑Xbox One。这些扩展允许应用程序自动利用当前运行设备中可用的功能[14]。通用應用程式即可以运行在智能手机上,也可以运行在平板电脑上,并为两者提供适当的体验。如果手机连接到一台桌面电脑或者一个合适的扩展坞,其上运行的通用應用程式还可能呈现为平板电脑上的体验[15]

反响 编辑

作为游戏平台 编辑

UWP的游戏开发会受到技术限制,游戏可能无法做到桌面应用程序的所有功能,包括不兼容多显卡,无法禁用垂直同步,不能支持游戏模组,及不能使用游戏辅助软件如FrapsSteam游戏内界面和按键管理器等[16]Epic Games创办人Tim Sweeney批评UWP是“围墙花园”,默认情况下,UWP软件只能通过Windows應用程式商店安装,必须更改系统设置才能启用外部應用程式的安装(Android系统有类似的设计)。此外,某些系统功能只能在UWP调用,不能在基于Win32的软件中使用(这包括大多数PC电子游戏)。Sweeny表示这是“微软有史以来最激进的动作”、试图将PC转变为封闭平台,并且这些举动注定将使Steam等第三方商店处于劣势,微软削减了用户自由安装全功能PC软件的自由,破坏开发者及发行商与其客户之间保持直接关系的权利。因此,Sweeney称最终用户应该可以直接下载UWP软件并以桌面软件的方式安装它[17]

在Build 2016期间,微软Xbox部门负责人Phil Spencer宣布公司正在尝试解决一些问题,以改进UWP对PC游戏的能力。他指出,微软正在“致力于达到或超过全屏游戏的性能预期,以及提供包括覆盖层、模组等附加功能的支持。”,并同时宣布提供禁用垂直同步的支持,以及AMD FreeSyncNvidia G-Sync技术的支持,这将在Windows 10的未来更新中添加[18]

参考资料 编辑

  1. ^ What's a Universal Windows app?. MSDN. Microsoft. [October 9, 2015]. (原始内容于2016-02-20). 
  2. ^ Introduction to Universal Windows Platform (UWP) apps for designers. MSDN. Microsoft. [October 9, 2015]. (原始内容于2016-02-12). 
  3. ^ Migrate apps to the Universal Windows Platform (UWP). MSDN. Microsoft. [31 July 2015]. (原始内容于2017-07-28). 
  4. ^ Move from Windows Runtime 8.x to UWP. Windows Developer Center. Microsoft. [October 9, 2015]. (原始内容于2015-12-09). 
  5. ^ Hachman, Mark. Microsoft releases iOS-to-Windows app maker Windows Bridge to open source. PC World. IDG. August 6, 2015 [October 9, 2015]. (原始内容于2017-07-04). 
  6. ^ Branscombe, Mary. . TechRadar. May 11, 2015 [October 9, 2015]. (原始内容存档于2015-05-19). 
  7. ^ Bright, Peter. Microsoft brings Android, iOS apps to Windows 10. Ars Technica. April 29, 2015 [October 9, 2015]. (原始内容于2015-05-06). 
  8. ^ Hachman, Mark. . PC World. IDG. August 6, 2015 [October 9, 2015]. (原始内容存档于2017-07-04). 
  9. ^ Chester, Brandon. Microsoft Demonstrates Android and iOS Applications Running On Windows 10. Anandtech. Purch Inc. April 29, 2015 [October 9, 2015]. (原始内容于2018-04-28). 
  10. ^ Protalinski, Emil. Everything you need to know about porting Android and iOS apps to Windows 10. VentureBeat. May 1, 2015 [October 9, 2015]. (原始内容于2015-05-26). 
  11. ^ Hachman, Mark. . PC World. IDG. August 6, 2015 [October 9, 2015]. (原始内容存档于2017-07-04). 
  12. ^ Jo Foley, Mary. Microsoft is buying mobile tool vendor Xamarin. ZDNet. February 24, 2016 [February 26, 2016]. (原始内容于2017-01-03). 
  13. ^ Jo Foley, Mary. Microsoft: Our Android Windows 10 bridge is dead, but iOS, Win32 ones moving ahead. ZDNet. February 25, 2016 [February 26, 2016]. (原始内容于2021-10-26). 
  14. ^ Domingo, Michael. Inside the Universal Windows Platform Bridges. Visual Studio Magazine. May 1, 2015 [October 9, 2015]. (原始内容于2021-09-22). 
  15. ^ Guide to Universal Windows Platform (UWP) apps. Windows Developers Center. Microsoft. [October 9, 2015]. (原始内容于2016-02-21). 
  16. ^ Microsoft needs to stop forcing console-like restrictions on Windows Store PC games. Ars Technica. Conde Nast. [30 March 2016]. (原始内容于2016-03-29). 
  17. ^ Epic CEO: “Universal Windows Platform can, should, must, and will die”. Ars Technica. Conde Nast. [30 March 2016]. (原始内容于2016-03-30). 
  18. ^ Xbox Boss on PC Gaming: "We've Heard the Feedback Loud and Clear". GameSpot. [30 March 2016]. (原始内容于2021-09-24). 

外部链接 编辑

  • Guide to UWindows Runtimeniversal Windows Platform (UWP) apps (页面存档备份,存于互联网档案馆


通用windows平台, 此條目需要更新, 2021年8月16日, 請更新本文以反映近況和新增内容, 完成修改後請移除本模板, universal, windows, platform, 简称uwp, 是微软公司建立并在windows, 10中首次引入的一个同性質應用程式架构平台, 此软件平台的目的是帮助发展metro样式的應用程式, 便于軟體可以在windows, 10和windows, mobile上執行且无需重新編寫, 它支援使用c, net或xaml开发的windows應用程式, api采用c, 实现, 并. 此條目需要更新 2021年8月16日 請更新本文以反映近況和新增内容 完成修改後請移除本模板 通用Windows平台 Universal Windows Platform 简称UWP 是微软公司建立并在Windows 10中首次引入的一个同性質應用程式架构平台 此软件平台的目的是帮助发展Metro样式的應用程式 便于軟體可以在Windows 10和Windows 10 Mobile上執行且无需重新編寫 它支援使用C C VB NET或XAML开发的Windows應用程式 API采用C 实现 并支持C VB NET C 和JavaScript 1 UWP在Windows Server 2012和Windows 8中作为一个Windows Runtime平台的扩展被首次引入 允许开发者创建可潜在运行在多种设备类型上的应用程序 2 Universal Windows PlatformWindows 8 1 的UWP计算器内置于Windows 10 Windows 10 Mobile Windows Server 2016取代Windows Runtime 目录 1 兼容性 2 开发 3 反响 3 1 作为游戏平台 4 参考资料 5 外部链接兼容性 编辑UWP是Windows 10和Windows 10 Mobile的一部分 UWP應用程式不能在早期的Windows版本上執行 应用程序能使用Visual Studio 2015进行此平台的原生开发 而面向Windows 8 1 Windows Phone 8 1及其两者 通用8 1 的旧版Metro應用程式需要一些修改才能迁移到UWP 3 4 在2015 Build期间 微软宣布了一个UWP 桥梁 集 允许Android和iOS软件被移植到Windows 10 Mobile 5 Windows Bridge for Android 代号 Astoria 将允许使用Java或C 的Android應用程式被移植到Windows 10 Mobile和发布到Windows應用程式商店 Windows开发者平台的技术总监Kevin Gallo解释说 该层包含一些限制 Google Mobile服务和某些核心API将不可用 存在 深度集成到后台服务 的應用程式 如通信软件 也不能在此环境下良好运行 6 7 Windows Bridge for iOS 代号 Islandwood 是一个开源中间件工具包 允许使用Objective C开发的iOS软件使用Visual Studio 2015将Xcode代码转换为Visual Studio项目以移植到Windows 10 Mobile 8 9 10 Windows Bridge for iOS的一个早期版本已使用MIT许可证在2015年8月6日发布为一个开源软件 而Android版本仍在内部测试 11 2016年2月 微软宣布已经收购了位于旧金山的开发Xamarin软件的公司 12 此次收购后不久 微软宣布将放弃Android bridge项目 并计划支持在Windows 10上运行Android應用程式 他们的关注重点将主要集中在iOS bridge 13 开发 编辑UWP是Windows Runtime的一个扩展 采用UWP创建的 通用Windows应用程序 在其清单 manifest 构建中不再采用对特定操作系统的写法 相反 它们采用 通用Windows平台桥梁 针对一个或多个设备族群 例如个人电脑 智能手机 平板电脑和Xbox One 这些扩展允许应用程序自动利用当前运行设备中可用的功能 14 通用應用程式即可以运行在智能手机上 也可以运行在平板电脑上 并为两者提供适当的体验 如果手机连接到一台桌面电脑或者一个合适的扩展坞 其上运行的通用應用程式还可能呈现为平板电脑上的体验 15 反响 编辑作为游戏平台 编辑 UWP的游戏开发会受到技术限制 游戏可能无法做到桌面应用程序的所有功能 包括不兼容多显卡 无法禁用垂直同步 不能支持游戏模组 及不能使用游戏辅助软件如Fraps Steam游戏内界面和按键管理器等 16 Epic Games创办人Tim Sweeney批评UWP是 围墙花园 默认情况下 UWP软件只能通过Windows應用程式商店安装 必须更改系统设置才能启用外部應用程式的安装 Android系统有类似的设计 此外 某些系统功能只能在UWP调用 不能在基于Win32的软件中使用 这包括大多数PC电子游戏 Sweeny表示这是 微软有史以来最激进的动作 试图将PC转变为封闭平台 并且这些举动注定将使Steam等第三方商店处于劣势 微软削减了用户自由安装全功能PC软件的自由 破坏开发者及发行商与其客户之间保持直接关系的权利 因此 Sweeney称最终用户应该可以直接下载UWP软件并以桌面软件的方式安装它 17 在Build 2016期间 微软Xbox部门负责人Phil Spencer宣布公司正在尝试解决一些问题 以改进UWP对PC游戏的能力 他指出 微软正在 致力于达到或超过全屏游戏的性能预期 以及提供包括覆盖层 模组等附加功能的支持 并同时宣布提供禁用垂直同步的支持 以及AMD FreeSync和Nvidia G Sync技术的支持 这将在Windows 10的未来更新中添加 18 参考资料 编辑 What s a Universal Windows app MSDN Microsoft October 9 2015 原始内容存档于2016 02 20 Introduction to Universal Windows Platform UWP apps for designers MSDN Microsoft October 9 2015 原始内容存档于2016 02 12 Migrate apps to the Universal Windows Platform UWP MSDN Microsoft 31 July 2015 原始内容存档于2017 07 28 Move from Windows Runtime 8 x to UWP Windows Developer Center Microsoft October 9 2015 原始内容存档于2015 12 09 Hachman Mark Microsoft releases iOS to Windows app maker Windows Bridge to open source PC World IDG August 6 2015 October 9 2015 原始内容存档于2017 07 04 Branscombe Mary How will Android support work in Windows 10 for Phones TechRadar May 11 2015 October 9 2015 原始内容存档于2015 05 19 Bright Peter Microsoft brings Android iOS apps to Windows 10 Ars Technica April 29 2015 October 9 2015 原始内容存档于2015 05 06 Hachman Mark Microsoft releases iOS to Windows app maker Windows Bridge to open source PC World IDG August 6 2015 October 9 2015 原始内容存档于2017 07 04 Chester Brandon Microsoft Demonstrates Android and iOS Applications Running On Windows 10 Anandtech Purch Inc April 29 2015 October 9 2015 原始内容存档于2018 04 28 Protalinski Emil Everything you need to know about porting Android and iOS apps to Windows 10 VentureBeat May 1 2015 October 9 2015 原始内容存档于2015 05 26 Hachman Mark Microsoft releases iOS to Windows app maker Windows Bridge to open source PC World IDG August 6 2015 October 9 2015 原始内容存档于2017 07 04 Jo Foley Mary Microsoft is buying mobile tool vendor Xamarin ZDNet February 24 2016 February 26 2016 原始内容存档于2017 01 03 Jo Foley Mary Microsoft Our Android Windows 10 bridge is dead but iOS Win32 ones moving ahead ZDNet February 25 2016 February 26 2016 原始内容存档于2021 10 26 Domingo Michael Inside the Universal Windows Platform Bridges Visual Studio Magazine May 1 2015 October 9 2015 原始内容存档于2021 09 22 Guide to Universal Windows Platform UWP apps Windows Developers Center Microsoft October 9 2015 原始内容存档于2016 02 21 Microsoft needs to stop forcing console like restrictions on Windows Store PC games Ars Technica Conde Nast 30 March 2016 原始内容存档于2016 03 29 Epic CEO Universal Windows Platform can should must and will die Ars Technica Conde Nast 30 March 2016 原始内容存档于2016 03 30 Xbox Boss on PC Gaming We ve Heard the Feedback Loud and Clear GameSpot 30 March 2016 原始内容存档于2021 09 24 外部链接 编辑Guide to UWindows Runtimeniversal Windows Platform UWP apps 页面存档备份 存于互联网档案馆 取自 https zh wikipedia org w index php title 通用Windows平台 amp oldid 72890721, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。