Changes between Version 1 and Version 2 of WinRT


Ignore:
Timestamp:
May 15, 2015 9:34:30 AM (9 years ago)
Author:
riza
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WinRT

    v1 v2  
    66Windows 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. 
    77 
     8[[Image(WinRT.png)]] 
    89 
    910WinRT 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. 
     
    1920Windows Phone Runtime(WPRT) is a subset of native API that is built into the operating system.  
    2021 
     22[[Image(WPRT.png)]] 
     23 
    2124The diagram has three distinct areas and these are described as follows: 
    22251. The set of WinRT API not supported on WPRT.  
    23262. 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. 
     273. 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 
     29These 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 
    2540 
    2641 
     42== Windows Phone 8 == 
     43It is the second generation of the Windows Phone mobile operating system from Microsoft. WP8 can run app build based on WPRT API. 
    2744 
    28 Reference: 
     45== Windows Phone 8.1 == 
     46It 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: == 
    29491. http://en.wikipedia.org/wiki/Windows_Runtime 
    30502. http://www.codeproject.com/Articles/328551/Part-Introduction-to-WinRT-the-new-Windows-Runti 
    31513. http://en.wikipedia.org/wiki/Windows_8_editions 
     524. https://msdn.microsoft.com/en-us/library/dn655121(v=vs.105).aspx