Author's Blogs

Oh, snap! Windows* 8.1 Release Preview, XAML Content, and Window Resize
By David Medawar Posted on 07/18/13 0
Windows* 8 had a visual state known as the “snap view.”  This was a fixed window width that an app could reside in when snapped.  The window is fixed at 320 pixels so the user run two applications at the same time.  Windows 8.1 Release Preview changed the behavior of snap view.  When a window is ...
Enabling Push Notifications for Windows Store Apps using C#
By David Medawar Posted on 06/18/13 0
Suppose that a nurse is assisting a patient in some hospital room and that the patient’s doctor is somewhere else in the facility.  The nurse gathers vitals for the patient and enters the information into the computer.  The nurse would like for the doctor to get this information “on the fly” with...
A Windows* Store App Case Study – Recording Audio Notes and Playback for Healthcare (C#)
By David Medawar Posted on 06/11/13 0
I’d like to share a useful example for recording audio in a Windows Store App.  Particularly, I will present an app that targets the enterprise healthcare sector.  Audio recordings can enable doctors to “attach” speech to notes for patients.  This aides doctors in the event that if their hands ar...
Creating Compelling Content with XAML for Windows* Store Apps: Control Templates, ListView,ListBox, Customization, and a Game Title Screen
By David Medawar Posted on 04/25/13 0
Improve Windows* Store Apps by leveraging XAML control templates, ListView, ListBox and other customization.
How to Throw a UIElement Across the Screen Using C# in Windows 8 Style Apps
By David Medawar Posted on 04/05/13 0
How to apply physics to finger flicks and other adaptations of collision detection code.
Case Study: How Intel® GPA Measurements Alerted Me to Greatly Improve the FPS of my Windows* 8 Store App: The DispatcherTimer
By David Medawar Posted on 04/05/13 0
Last year, I wrote a blog about creating your own simple collision detection code.  I implemented this for a children's math game I created.  You can refer to my blog here:
Porting Letter Recognition Gesture Code from iOS to Windows 8 C#
By David Medawar Posted on 04/05/13 0
Consider an educational app that teaches a child how to write letters.  The app may be interactive, allowing the child to swipe screens, pinch/zoom pictures, etc.  Now, what if the app was able to teach handwriting by recognizing if the child drew a particular letter?  I'm going to talk about how...
Developing Multi-Touch Rotation and Letter Recognition Apps Using C# in Windows 8*
By David Medawar Posted on 12/14/12 3
I have to say it: Windows 8* Style UI programming is a lot of fun.  One thing I like is how it's so easy to incorporate multi-touch support.  After writing some sample code the other day, I thought I would share my findings. Please note: This blog assumes familiarity with Windows 8* Style UI prog...
How to Make a Date Picker (Calendar) for C# in Windows 8
By David Medawar Posted on 12/14/12 0
  OK, so you are making an awesome new Windows 8* app using the C# programming language and XAML designer in Visual Studio* 2012.  You open up the designer for your XAML file and want to paste in a calendar item (DatePicker) into your app.  You peruse through the Toolbox to find that…there's noth...
Give Metro UI Elements Space! Writing Your Own Collision Detection Handler in C#
By David Medawar Posted on 07/13/12 5
Note: the code APIs discussed here were written at the time of the Windows 8 Release Preview. We also only consider 2D space. Here I'm going to purposefully do things the hard way because…well, I often do that. Instead of using a pre-existing game library for handling collision detection in a M...