Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Quick Run Through of the WP7 Developer Tools January 2011

0.00/5 (No votes)
6 Feb 2011 1  
Quick run through of the WP7 Developer Tools January 2011

In case you haven’t heard, the latest WP7 Developers Tool update was released yesterday and contains a few goodies. First, you need to go and grab the bits here.

You can install them in any order, but I installed the WindowsPhoneDeveloperResources_en-US_Patch1.msp first.

SNAGHTML11b99e

Then the VS10-KB2486994-x86.exe.

SNAGHTML1249bc

They install silently. In other words, you would need to check Programs and Features and look in Installed Updates to see if they installed successfully. Like the screenshot below:

SNAGHTML432438a

Once you get them installed, you can try out a few new features.

Like Copy and Paste.

Just fire up your application and put a TextBox on it and Select the Text and you will have the option highlighted in red above the text.

SNAGHTML42fc028

Once you select it, you will have the option to paste it (see red rectangle below).

SNAGHTML434e748

Another feature is the Windows Phone Capability Detection Tool – This tool detects the phone capabilities used by your application. This will prevent you from submitting an app to the marketplace that says it uses x feature but really does not.

How do you use it?

Well, navigate out to either directory:

  • %ProgramFiles%\Microsoft SDKs\Windows Phone\v7.0\Tools\CapDetect
  • %ProgramFiles (x86)%\Microsoft SDKs\Windows Phone\v7.0\Tools\CapDetect

SNAGHTML2e6fa4

and run the following command:

CapabilityDetection.exe Rules.xml YOURWP7XAPFILEOUTPUTDIRECTORY

So, in my example, you will see my app only requires the ID_CAP_MICROPHONE.

SNAGHTML447d667

Let’s see what the WmAppManifest.xml says in our WP7 Project:

image

image

Whoa! That’s a lot of extra stuff we don’t need. We can delete unused capabilities safely now.

image

Some of the other fixes are (copied straight from Microsoft):

  • Fixes a text selection bug in pivot and panorama controls. In applications that have pivot or panorama controls that contain text boxes, users can unintentionally change panes when trying to copy text. To prevent this problem, open your application, recompile it, and then resubmit it to the Windows Phone Marketplace.
  • Windows Phone Connect Tool – Allows you to connect your phone to a PC when Zune® software is not running and debug applications that use media APIs. For more information, see How to: Use the Connect Tool.
  • Updated Bing Maps Silverlight Control – Includes improvements to gesture performance when using Bing™ Maps Silverlight® Control.
  • Windows Phone Developer Tools Fix allowing deployment of XAP files over 64 MB in size to physical phone devices for testing and debugging.

That’s pretty much it. Thanks again for reading my blog!

alt Subscribe to my feed

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here