A Step-by-Step Guide to Building and Deploying A Windows Phone 7 Application to Marketplace

Do you want to know how to develop a Windows Phone 7 Silverlight application from scratch and submit it to the Marketplace via the new Microsoft App Hub?

My new article of DZone shows you just that with an application (that is live on marketplace for free) and demonstrates a few patterns/elements such as: MVVM, MVVM Light, Phone styles, Grid layout…

20101026 dzone

 

screenshot01

Enjoy Smile

Use the WPDTPTConnect/WPConnect Tool to Debug WP7 Apps on Devices Without Running Zune

The Windows Phone Developer Tools October 2010 Update (and breath) has been quietly released.

It includes a major tool for debugging applications on devices, that was mentioned back in the Summer during Microsoft WP7 Jump Start training, but not publically released.

It allows you to debug WP7 applications on a connected device without running the Zune software.

This is a good thing for two reason (personally to me at least):

  • You don’t have to launch the huge Zune software to do device debugging
  • It allows debugging of applications using certain features that could not be used when the Zune software was running with a connected device: Media Launchers or Choosers; XNA Framework playback of song objects; Silverlight playback of video or audio content using the MediaElement control

To use it:

Connect your device

Close the Zune software if running – and you can prevent it from launching on device connect by going to Settings->General and uncheck the appropriate box.

Open a command prompt and navigate to:

  • For 32-bit OS – %ProgramFiles%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect
  • For 64-bit OS – %ProgramFiles(x86)%\Microsoft SDKs\Windows Phone\v7.0\Tools\WPConnect

Run WPConnect.exe

That’s it – now you can debug on the device without the Zune software ‘in the way’.

To go back to using Zune, just launch it again.

Hello, Windows Phone 7!

A new mobile developer web magazine launches today.

From the press release:

Mobile Developer Magazine Launches

CALGARY, Alberta, October 1 — Mobile Developer Magazine (MDM) is a new industry publication by mobile developers, for mobile developers, and is now online at http://www.mobiledevmag.com.

Mobile applications and architectures are evolving at an incredible speed; in order to grow with direction and success we must collaborate our knowledge. Developers shape the future of technology, and through MDM, seasoned coders to CEOs, and nearly everyone in between involved in the mobile developing world has come together.

Yours truly has a featured article in issue #1.

Want to know more about Windows Phone 7 and see how easy it is to build a application?  Check out the article.

Enjoy!

20101001 mdm

Get extra WP7 controls with the Silverlight Toolkit for Windows Phone 7

Today saw the RTW/RTM of the Windows Phone 7 developer tools – you can check out the highlights.

In addition, Microsoft Silverlight toolkit team has also added a Silverlight Toolkit for Windows Phone 7 on codeplex.

Check out the details at Tim Heuer’s blog.

You’ll get these controls along with their code and samples on how to use them…

ToggleSwitch

image

 

Content Menu (which zooms the the rest of the screen back a little and support ICommand !!)

image

 

Date/Time Picker

image

image

Wrap Panel

image

 

Gesture Helper (that you simply embed inside other XAML elements and write event handlers for)

image

Highlights of What’s new in the Windows Phone 7 Developer Tools RTM/RTW

It’s a big day for Microsoft and I’ve had a great ride to this point.

The RTM of the Windows Phone 7 Developer Tools have now been released.

See the update MSDN documentation.

Get the toolsBe sure to correctly uninstall previously installed versions of the tools (see the release notes) before installing.

Read the release notes.

Let’s take a look at the highlights of what’s new in RTM of the WP7 Developer Tools, largely from a Silverlight application development point of view.

Panorama Control

There have been a few 3rd party open source goes at a Panorama Control (and no-one can blame them for getting a little impatient – it’s like the Office ribbon), but now there’s an official one (which was explain recently in a blog entry by Jeff Wilcox).  You can include one by starting with the new dedicate Visual Studio template (under File->New Project), use the one in the toolbox, or add it via XAML.  See the documentation.  Use it to get UI like this:

Ff941104.83abaa3d-63cc-4424-b8ff-3c5ceca759c4(en-us,VS.92).jpg

Pivot Control

The new official Pivot control is just as easy to use.  See the documentation to produce things like this:

image

 

Bing Maps Silverlight Control for Windows Phone

While the previously available control worked on the phone, it was not optimized for the phone.  This new version rocks!  Check out the docs.  You’ll also want to get yourself a developer key.

Ff941093.10d7071a-c8bf-4a96-85d0-651438c449a6(en-us,VS.92).jpg

Other changes:

The tools and emulator have performance improvements.  Check out Microsoft’s paper on creating high performing Silverlight apps.

The documentation has been updated.

Be sure to read the release notes.

What’s missing to round out the platform? 

I’ll do another post on this topic soon.

My ride with Windows Phone 7

Today is the official day for the RTM of the Windows Phone 7 Developer Tools.

It’s a big day for Microsoft.

It’s been a big few weeks for me too recently.  I’ve just finished training dozens of developers in the first WP7 professional training event across North America.  I’ve recorded a few Dot Net Rocks TV episodes, presented and attended WP7 events with Microsoft (and more to come), and have been asked to author various articles. 

I’ve had the luxury (and support from Microsoft Canada) of having a developer device in my hands for a week or two and continue to have access to devices on occasion.  I’ve seen the device app-deployment unlock process and seen the RTM tools for a little while pre-release.  I did see quality, performance and personal preference differences between devices from a couple of phone manufacturers, but I can’t detail those as they were all prototype devices.  I’m looking forward to seeing the retail devices, and I think most of you will be quite satisfied.

I’m now quite familiar with the phone UI and interactions – it really doesn’t take long to get used to it.

I’m enjoying the ride.  I’ve been fortunate.

By the way, I’ve also had a go on a Kinect device and then pre-ordered mine right away – it’s worth it for the exercise alone!

I’d like to thank a few people at Microsoft Canada:

  • Joey deVilla – Microsoft blogger extraordinaire, go-to man for help getting your WP7 apps to marketplace, promoter of my boot camps and generous ring master of devices
  • Christian Beauclair – his mastery of the Microsoft way made it possible for he and I to have device access and enjoy a couple of trips to Montreal sharing the experience with developers there
  • Rick Claus – his generosity ensured I could keep my word with boot camp trainees
  • John Bristowe – pointing some great opportunities my way
  • John Oxley – for having my back and approving all the best parts

I’d also like to thank Carl Franklin at dnrTV and Nitin Bharti at DZone.

I’ll be giving back over the next few months by continuing to share what I’ve learnt at public events and on this blog.