Friday, May 3, 2013

WinRT vs WinPRT

Windows Runtime (WinRT)

  • Is a subset of native API that is built into Windows 8 and Windows RT operating systems.  
  • Supports development in C++, C#, VB.NET, JavaScript and TypeScript
  • Supports XAML framework and HTML5 for UI design.
  • WinRT Apps:
    • Are known as Windows Store Apps.  
    • Natively support both the x86 and ARM architectures. 
    • Run inside a sandboxed environment to allow for greater security and stability.

Windows Phone Runtime (WinPRT)

  • Is a subset of native API that is built into Windows Phone 8 operating system. 
  • Supports development in C++, C# and VB.NET.
  • Supports XAML framework for UI design.

WinRT and WinPRT frameworks are similar in many areas. The following diagram shows the relationship between them in terms of the API surface area they implement:

  1. The API surface area of WinRT is very large, with over 11,000 members. Area 1 in the diagram above represents the APIs that are not available on WinPRT.
  2. The set of WinRT API adopted for WinPRT is represented by area 2 in the above diagram and consists of approximately 2,800 members. For some types, MS have not implemented certain members. For others they have added additional members to support phone-only features. In both cases, these differences are noted in the API reference documentation.
  3. Phone specific key APIs are represented by area 3 in the diagram and total about 600 members. For example, brand-new APIs for speech synthesis and recognition, VOIP, and other features. 


Wednesday, February 20, 2013

How to fix "RIM Mass Storage Device" driver issue

1. Go to C:\Windows\System32\DriverStore\FileRepository
Find files named usbstore…

2. Choose the most recent usbstor folder
Open the folder
You’ll see a number of files…

3. Select and copy usbstor.inf
4. Now go to C:\Windows\Inf
Paste the usbstor.inf file into this folder (On my system there was no usbstor.inf file already in this folder).
5. Now try again to install the reader
When Vista reports it cannot find a driver direct it to C:\Windows\Inf
If all goes well you will see the following information from Vista

FizzBuzz in different languages

Java: import java.util.TreeMap ; public class Main { public static void main (String[] args) { System. out .println( &...