O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This chapter began by looking at the Image element, how to reference image files, and the effect on sizing by the Image.Stretch property. Setting Visual Studio’s Build Action for a file to Resource means it will be located in the assembly, whereas setting it to Content means it will sit outside the assembly in the application’s XAP file.

The chapter then explored the InkPresenter and demonstrated how to create a simple sketch app. You saw how the Background property of the InkPresenter must be assigned to register touch events.

It then moved to the MediaElement, and you saw how audio and video files can be played from the phone or streamed via the Internet. The XNA SoundEffect class is better suited to playing short sound effects. You ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required