用戶:Ivyxjc/Sandbox16
內置於 | 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 2012和Windows 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]
參考
[編輯]- ^ What's a Universal Windows app?. MSDN. Microsoft. [October 9, 2015].
- ^ Introduction to Universal Windows Platform (UWP) apps for designers. MSDN. Microsoft. [October 9, 2015].
- ^ Migrate apps to the Universal Windows Platform (UWP). MSDN. Microsoft. [31 July 2015].
- ^ Move from Windows Runtime 8.x to UWP. Windows Developer Center. Microsoft. [October 9, 2015].
- ^ Domingo, Michael. Inside the Universal Windows Platform Bridges. Visual Studio Magazine. May 1, 2015 [October 9, 2015].
- ^ Guide to Universal Windows Platform (UWP) apps. Windows Developers Center. Microsoft. [October 9, 2015].
- ^ 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].
- ^ Branscombe, Mary. How will Android support work in Windows 10 for Phones?. TechRadar Pro. May 11, 2015 [October 9, 2015].
- ^ Bright, Peter. Microsoft brings Android, iOS apps to Windows 10. Ars Technica. April 29, 2015 [October 9, 2015].
- ^ Chester, Brandon. Microsoft Demonstrates Android and iOS Applications Running On Windows 10. Anandtech. Purch Inc. April 29, 2015 [October 9, 2015].
- ^ Protalinski, Emil. Everything you need to know about porting Android and iOS apps to Windows 10. VentureBeat. May 1, 2015 [October 9, 2015].