-
This post is part of a mulit-part posting series on how to use some of the onboard device sensors in Windows 8 applications. Other posts are: Light Sensor Gyrometer Sensor Inclinometer Sensor Accelerometer Sensor (this post) Most tablets and laptops these days have an array of sensors onboard the...
-
Windows 8 applications (aka Windows Store applications) have 3 different life cycle states they can go through: Launching Suspending Resuming Handling both Launching and Suspending is pretty much covered out of the box but what if you need to resume from a suspended state? In most normal scenarios...
-
This post is part of a mulit-part posting series on how to use some of the onboard device sensors in Windows 8 applications. Other posts are: Light Sensor Gyrometer Sensor Inclinometer Sensor (thispost) Accelerometer Sensor (future post) Most tablets and laptops these days have an array of sensors onboard...
-
This post is part of a mulit-part posting series on how to use some of the onboard device sensors in Windows 8 applications. Other posts are: Light Sensor Gyrometer Sensor (this post) Inclinometer Sensor (future post) Accelerometer Sensor (future post) Most tablets and laptops these days have an...
-
Most tablets and laptops these days have an array of sensors onboard the device that developers can use and take advantage of. One of the sensors which is on most tables and laptops is the Light Sensor. This sensor can be used for many things and it is common that the light sensor is used to illuminate...
-
If you are attempting to work with or create secondary tiles and you are getting the following exception you may want to check your title id. System.ArgumentException: The parameter is incorrect. When trying to do a SecondaryTile.Exists (tileId) with the value as seen in the picture below I was...
-
When building WinRT applications it is going to be pretty common to want to play some sort of embedded audio file. It may also be common to want to play this file but via a ViewModel (or simply not in a view). In this post we are going to take a quick look at how to play an MP3 file by using...
-
When building WinRT applications you will want to implement the ability to capture images/video’s from the onboard webcamera in order to use in your application. Fortunately for you this is very easy to accomplish. We will walk through how to do this in this post. Step 1: Enable access to...
-
When you are building Metro Applications it will be very common that your application will have image (.png) files stored in local isolated storage and that you will want to show these images to the users inside your application. In this post i am going to walk you though how to access these stored...
-
When building WinRT applications there will be the need to create IStorageFiles in the local storage area of your application. In this post I was going to walk through how we can do this step by step. Step 1: Get the StorageForlder object for your application var storageFolder = ApplicationData...
-
When working with a C#/XAML WinRT application it is common that you will include resources such as images, files, audio recordings, etc inside your deployment package. It will also be common that you may want to access these resources as native storage files in order to do things like share them...
-
**** NOTE: This post is valid for the Developer Preview of WinRT and MAY change in later releases **** This is one of many posts in how to use Contracts within WinRT. The other posts are: Being a Share Target Using the Settings Contract Using the Search Contract Part 1 Part 2 Part 3 If you have...
-
When you are building out a WinRT/Metro application using C#/XAML you have the ability to add an ApplicationBar (part of the Windows.UI.Xaml.Controls namespace) to your application as seen below When you adding a Application bar you can have it dock to the top or bottom. When having it dock to...
-
***** NOTE: This post is valid for the Developer Preview of WinRT and MAY change in later releases ***** Window 8 has enabled developers to hook into various system ‘ Contracts ’ such as Search, Sharing and Settings. Contracts are like agreements between Windows and one or more Metro style apps, called...
-
On of the new user controls which is being released with WinRT/Metro is the ToggleSwitch which can be found in the Windows.UI.Xaml.Controls namespace. When rendered the control looks like below. By looking at the above you can see 3 distinct data points. The header (value of Font Size) – Header...