Windows 8 Consumer Preview and Visual Studio 11 Beta – Quick tip: using sensors (Part 6/11)

Wednesday, February 29, 2012

Windows 8 supports multiple sensors. Some of them could be installed on your device, some of them not. When I planned this series, I had pretty hard choice to make about the sensor – which one to use. Accelerometer/Gyrometer/Compass/Inclinometer/Orientation are cool sensors, but their usage pretty tightly bound to specific scenarios like games (Accelerometer/Gyrometer/Inclinometer), some location aware applications (Compass) or at least orientation-aware apps (Orientation). I had to make a choice either create simple “show-the-values” boring sample or game which using those sensors (at least some of them) or showcase go with non-standard approach presenting LightSensor which...

Silverlight for Windows Phone 7 Quick Tip: Fix missing icons while using DatePicker/TimePicker controls

Thursday, December 23, 2010

Recently in one of my applications I used DatePicker control from Silverlight for Windows Phone 7 Toolkit. When launched the app and tried to change the date I “discovered” unpleasant surprise – the Done/Cancel icons in Application Bar were missed: I had to look in Toolkit’s sources I found the following definition (same for DatePicker and TimePicker): <primitives:DateTimePickerPageBase.ApplicationBar> <shell:ApplicationBar IsVisible="True"> <!-- Due to platform restrictions, ApplicationBarIconButton.IconUri content can not come from the ...