Pages

Sunday, 14 October 2012

Walkthrough: Adding Text Translation to your Windows 8 App


Walkthrough: Adding Text Translation to your Windows 8 App
The Microsoft Translator is a powerful service that developers can leverage in their Windows 8 apps. It’s core functions are to detect the language of some text. To translate text from one language to another. And, to read text to you – that’s right! The API is hosted on Azure’s Data Marketplace. It has a pricing schedule, including a free tier that developers can leverage to develop with the API.

Read More

Using User-Provided Images for Secondary Tiles


Often when you are creating a secondary tile in Windows 8, it will be based on images coming from the internet. However a requirement of secondary tile images are that they need to be stored locally. I initially had some problems getting this working right and the streams closed correctly for this to work, so here’s the code for other to use and save the hazzle.

You can download the tile utility class and sample app here.
Read More 

Officially announcing MetroTwit for Windows 8, now available in the Windows Store

Officially announcing MetroTwit for Windows 8, now available in the Windows Store
The anticipated major update to MetroTwit for Windows 8 has just been certified and is now rolling out to Windows 8 users around the world for customer download. You can see the details in the Windows Store here.

Read More on MetroTwit Blog

Saturday, 13 October 2012

How to call WinRT APIs in Windows 8 from C# Desktop Applications - WinRT Diagram


How to call WinRT APIs in Windows 8 from C# Desktop Applications - WinRT Diagram
I was trying to access some of the sensors that are built into this Intel Ultrabook that runs Windows 8. However, while there's support for Location Sensors built into the .NET 4 libraries on Windows 7 and up, I want to access the complete Sensor and Location Platform that is built into Windows 8 itself. Those APIs are available via COM and I could call them via COM, but calling them via the WinRT layer is so much nicer. Plus, this is kind of why WinRT exists.

This got me thinking about WinRT and what it means. I did a podcast a few months ago that really cleared things up but I've always found all the various diagrams that attempted to explain how things fit together WAY TO COMPLEX.

Read More
Web Informer Button