Free ebook: Programming Windows Phone 7

Today, the free ebook, Programming Windows Phone 7, by Charles Petzold, was announced available for download.  It’s a great book on programming Windows Phone 7 that covers both Silverlight and XNA, and soon will also be available  (for sale) in fully-indexed print editions.  For more details, please read the article at the Microsoft Press blog, Free ebook: Programming…

0

Final Windows Phone Developer Tools Releasing Sept 16

Today, it was announced on the Windows Phone blog that the final version of the Windows Phone developer tools will be released on Sept 16.  This release will have some minor breaking changes from the beta tools, so apps will need to be recompiled using the final tools before going into the marketplace.  It will…

0

MediaElement, MediaPlayerLauncher and ApplicationBar in Windows Phone

Today, I’ll write about creating a simple app that plays media using the MediaElement control, uses the ApplicationBar control for the media controls, and also allows use of the MediaPlayerLauncher.  The application bar icons used can be downloaded for free at: http://www.microsoft.com/downloads/details.aspx?FamilyID=369b20f7-9d30-4cff-8a1b-f80901b2da93  First, create a new Windows Phone Application project.  Add the files for the ApplicationBar icons to the…

4

Launchers and Choosers for Windows Phone

Launchers and Choosers are the set of APIs that allow applications indirect access to phone features, such as taking photos with the camera, launching one of the built-in applications, etc.  The difference between Launchers and Choosers is that Launchers just launch a built-in application and no data is returned to the calling application, while for Choosers the chosen…

1

Downloading Images and Indeterminate ProgressBar in Windows Phone

The ProgressBar control in Windows Phone today looks beautiful in indeterminate mode, with the animating dots.  But it comes at a cost to performance – the dots stop animating when the UI thread is busy such as when loading a large image.  I was updating the previous slideshow sample to download images from an online…

2

Windows Phone Applications – Map, Pivot and Panorama controls

Today, I’ll write about three new controls in Windows Phone Applications – the Map, Pivot and Panorama controls.  These controls should be in the next release of the free developer tools as they didn’t make the beta. The Silverlight Bing Map control allows you to integrate an immersive mapping solution with gestures-enabled zooming and panning…

6

Windows Phone Applications – Gestures

Unlike desktop applications which use a keyboard and mouse, Windows Phone applications use touch screen gestures for input.  The most common gesture is the Tap, which is the same as a Click and uses the Click event handler.  Today, I’ll be writing about four gestures: Pan, Flick, Pinch and Stretch, which are implemented in the…

0

Windows Phone Applications: Timing using DispatcherTimer

Applications may want to performs actions with certain timing, or tick intervals.  One example is a turn-based game like a card game where each computer player takes some time to play a turn.  An example which will be shown below is a slideshow application where photos are changed at 2 seconds intervals.  These are the controls used:…

3

Windows Phone Application Model: Navigation and Saving State

Continuing from yesterday’s introduction  to Silverlight for Windows Phone 7, today I’ll be writing about the application model for Windows Phone Applications, specifically about navigation and saving state.   Navigation In desktop Silverlight, the application’s RootVisual is the startup page, and setting the RootVisual changes the page.  In Silverlight for Windows Phone 7, the application’s…

0

Silverlight for Windows Phone 7

The NDA on Silverlight for Windows Phone 7 has been lifted for a few months now, but I’ve been too busy working to get it into a finished product to blog about it previously.  But now I hope to spend a few minutes each day sharing some tips and tricks of developing Windows Phone 7…

1