Category Archives: wp7Dev

Detecting whether or not Zune is connected when using photochooser task.

When a windows phone is connected to the computer and zune is open, apps on the phone can’t access the photos stored on the phone through the photochooser task. If zune is connected the photochooser task will immediately return with e.TaskResult set to TaskResult.Cancel, which is the same return value as if the user had [...]

Posted in wp7Dev | Tagged , , , , | Comments closed

Applying Styles to Silverlight Controls

If you have several controls that you want to make look the same, instead of editing their properties individually, you can set them all at once with a style. Then if you change your mind you don’t have to edit the ‘Background’ property of 20 elements. In your XAML just above your ‘LayoutRoot’ grid add [...]

Posted in wp7Dev | Comments closed

Moving from XNA to XNA/Silverlight hybrid on WP7

With the Mango update for WP7 you can now create “Windows Phone Silverlight and XNA Applications.” I’ve decided to make a game to make use of this Silverlight/XNA hybrid technology, with the main advantages I see being able to use the Silverlight web browser control in game for things like social network integration. However, as [...]

Posted in wp7Dev | Tagged , , , , | Comments closed