Changes between Version 1 and Version 2 of WinRT
- Timestamp:
- May 15, 2015 9:34:30 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WinRT
v1 v2 6 6 Windows Runtime, or shortly WinRT, is Microsoft’s new programming model that makes the backbone of the new Metro-style apps. It is designed in hopes to solve many of the problems of Win32, from an apps perspective. Apps created for WinRT are safe, secure, and sandboxed, can’t wreck other apps and all install in just 2-3 seconds. They feature isolated storage, single folder installs (as per the Mac), and require user consent to access the general file system. 7 7 8 [[Image(WinRT.png)]] 8 9 9 10 WinRT isn’t another abstraction layer; it’s a new runtime sitting directly on top of the Windows Kernel Services just like the good old Win32 API as shown in the above figure. WinRT APIs includes a subset of traditional Win32, Component Object Model (COM), and .NET Framework APIs, as well as HTML5 and CSS3 APIs that are accessible to Metro style app developers. … … 19 20 Windows Phone Runtime(WPRT) is a subset of native API that is built into the operating system. 20 21 22 [[Image(WPRT.png)]] 23 21 24 The diagram has three distinct areas and these are described as follows: 22 25 1. The set of WinRT API not supported on WPRT. 23 26 2. The set of WinRT API adopted for WPRT API. This is represented by area 2 in the above diagram and consists of approximately 2,800 members. There might be some differences (types) which is noted in the API reference documentation. 24 3. The set of API adopted for WPRT are represented by area 3 in the diagram. For example, brand-new APIs for speech synthesis and recognition, VOIP, and other features. These APIs use the WinRT style APIs, meaning you can use them regardless of the programming language you use for your app. 27 3. The set of API adopted for WPRT are represented by area 3 in the diagram. These APIs use the WinRT style APIs, meaning you can use them regardless of the programming language you use for your app. 28 29 These are some features that are not available on WinRT API 30 * Clipboard APIs 31 * Lock screen background provider 32 * Ringtone provider 33 * Alarms and reminders 34 * Lens apps 35 * Photos extensibility 36 * VoIP apps 37 * Search Extras 38 * XNA !SoundEffect API 39 * Generating bitmaps for Live Tiles in a Background Task using managed code 25 40 26 41 42 == Windows Phone 8 == 43 It is the second generation of the Windows Phone mobile operating system from Microsoft. WP8 can run app build based on WPRT API. 27 44 28 Reference: 45 == Windows Phone 8.1 == 46 It is the update to WP8 and support app build based on WinRT API, thus developers are given the choice of using WinRT API or WPRT API. Existing app from WP8 (using WPRT) can reuse their code by upgrading their app to Windows phone silverlight 8.1 app. 47 48 == Reference: == 29 49 1. http://en.wikipedia.org/wiki/Windows_Runtime 30 50 2. http://www.codeproject.com/Articles/328551/Part-Introduction-to-WinRT-the-new-Windows-Runti 31 51 3. http://en.wikipedia.org/wiki/Windows_8_editions 52 4. https://msdn.microsoft.com/en-us/library/dn655121(v=vs.105).aspx