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 [...]
Category Archives: wp7Dev
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 [...]
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 [...]
A Simple Level Sharing Service
I’ve finished adding a level sharing service to maze-escape. Since working out how to do it was not so easy, I thought I’d share my experiences. It should be fairly simple, upload levels as xml documents using a http post request, and to get them just download that xml document as a string and parse [...]