Click here to Skip to main content
15,868,016 members
Articles / Mobile Apps / Windows Phone 7

Quick Run Through of the WP7 Developer Tools January 2011

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
6 Feb 2011CPOL2 min read 12.8K   5  
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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Telerik
United States United States
Michael Crump is a Silverlight MVP and MCPD that has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

He has worked at Fortune 500 companies where he gained experience in embedded systems design and software development to systems administration and database programming, and everything in between.

His primary focus right now is developing healthcare software solutions using Microsoft .NET technologies. He prefers building infrastructure components, reusable shared libraries and helping companies define, develop and automate process standards and guidelines.

You can read his blog at: MichaelCrump.net or follow him on Twitter at @mbcrump.

Comments and Discussions

 
-- There are no messages in this forum --