User:Ivyxjc/Sandbox16

通用Windows平台
内置于Windows 10, Windows 10 Mobile, Windows Server 2016
前任Windows Runtime

通用Windows平台英語:Universal Windows Platform英語:UWP)是由微软于Windows 10中第一次提供的一套应用程序框架。该平台框架主要目的是为了帮助开发者在无需重写的情况下为Windows 10和Windows 10 Mobile两个平台开发Metro-style apps。它支持使用C++C#VB.NET以及XAML来开发Windows程序。API由C++编写,并且支持C++,VB.NET,C#和JavaScript[1] 。作为微软于Windows Server 2012Windows 8中引入的Windows Runtime的拓展,UWP使得开发者可以开发可以在多种设备上运行的应用程序[2]

发展

兼容性

UWP is a part of Windows 10 and later. Apps that are capable of implementing this platform are natively developed using Visual Studio 2015. Older Metro-style apps for Windows 8.1, Windows Phone 8.1 or for both (universal 8.1) need modifications to migrate to the UWP.[3][4]

部署

The UWP is an extension of the Windows Runtime. Universal Windows apps that are created using the UWP no longer indicate having been written for a specific OS in their manifest build; instead, they target one or more device families, such as a PC, smartphone, tablet, or Xbox One, using Universal Windows Platform Bridges. These extensions allow the app to automatically utilize the capabilities that are available to the particular device it is currently running on.[5] A universal app may run on either a mobile phone or a tablet and provide suitable experiences between the two. A universal app running on a mobile phone may start behaving the way it would if it were running on a tablet when the mobile phone is connected to a desktop computer or a suitable docking station.[6]

External portability

During the 2015 Build keynote, Microsoft announced a collection of Universal Windows Platform Bridges to allow Android and iOS software to be ported to the Windows 10 Mobile Operating System.[7] Windows Bridge for Android consists of a runtime environment (codenamed "Astoria") that allows for Android apps written in Java or C++ to be ported to Windows 10 Mobile and published to the Windows Store. Kevin Gallo, technical lead of Windows Developer Platform, explained that the layer contains some limitations. Google Mobile Services and certain core APIs will not be available, and apps that have "deep integration into background tasks", such as messaging software, may not run well in this environment.[8][9] Windows Bridge for iOS (codenamed "Islandwood") is an open source middleware toolkit that allows iOS software developed in Objective-C to be ported to Windows 10 Mobile by using Visual Studio 2015 to convert the Xcode project into a Visual Studio project.[7][10][11] An early build of Windows Bridge for iOS was released as open source software under the MIT license on 6 August 2015, while the Android version is in closed beta.[7]

参考

  1. ^ What's a Universal Windows app?. MSDN. Microsoft. [October 9, 2015]. 
  2. ^ Introduction to Universal Windows Platform (UWP) apps for designers. MSDN. Microsoft. [October 9, 2015]. 
  3. ^ Migrate apps to the Universal Windows Platform (UWP). MSDN. Microsoft. [31 July 2015]. 
  4. ^ Move from Windows Runtime 8.x to UWP. Windows Developer Center. Microsoft. [October 9, 2015]. 
  5. ^ Domingo, Michael. Inside the Universal Windows Platform Bridges. Visual Studio Magazine. May 1, 2015 [October 9, 2015]. 
  6. ^ Guide to Universal Windows Platform (UWP) apps. Windows Developers Center. Microsoft. [October 9, 2015]. 
  7. ^ 7.0 7.1 7.2 Hachman, Mark. Microsoft releases iOS-to-Windows app maker Windows Bridge to open source. PC World. IDG. August 6, 2015 [October 9, 2015]. 
  8. ^ Branscombe, Mary. How will Android support work in Windows 10 for Phones?. TechRadar Pro. May 11, 2015 [October 9, 2015]. 
  9. ^ Bright, Peter. Microsoft brings Android, iOS apps to Windows 10. Ars Technica. April 29, 2015 [October 9, 2015]. 
  10. ^ Chester, Brandon. Microsoft Demonstrates Android and iOS Applications Running On Windows 10. Anandtech. Purch Inc. April 29, 2015 [October 9, 2015]. 
  11. ^ Protalinski, Emil. Everything you need to know about porting Android and iOS apps to Windows 10. VentureBeat. May 1, 2015 [October 9, 2015]. 

外部链接