Making WPConnect Easier to use

If you are building a Windows Phone application and you are using your phone to debug AND you are using the Photo Chooser or or the Camera Launcher task you may have found out that it will not let you access the camera or pictures while you are connected to Zune.

But, you have to be connected to Zune to debug on the phone.  Well, kind of.  The Windows Phone Team put out a tool called WPConnect.exe that allows you to dubug on the phone without having Zune open.

Here are the steps.

  1. Connect your phone
  2. Make sure Zune launches and connects to your phone.
  3. Shut down Zune
  4. Using a Dos Prompt, Navigate to
    1. (for 64 bit machines) C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\WPConnect\x64
    2. (for 32 Bit machines) C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\WPConnect\x86
  5. Type WPConnect.exe

It will then tell you that you are good to go.


I got tired of having to navigate using a command prompt (Too may keystrokes) and I use this often enough to matter, so I created a shortcut for the Dos Prompt that takes me right to my designated spot in one click. Here is how you do it.

1. Right-click in the open space of your desktop and click New > Shortcut.

2. For the location, type or copy and paste the following:

%windir%\system32\cmd.exe /k


3. Click Next.

4. For the name, type something descriptive, like “Command Prompt for WPConnect” then click Finish.


5. Right-click on the new shortcut and choose Properties.

6. Change the “Start In” field to whatever directory you want the command prompt to start in.In my case, I want it to start in the 64 bit folder we talked about above:

"C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\WPConnect\x64"


Be sure to include the quotation marks, and of course you would need to customize this file path to your own system (32 or 64).

Now when I want to use WPConnect.  I just use the pined shortcut


and Type WPConnect.exe


Hope that helps Smile

WP7 Sample Database : Part II


Last week I told you about a great post that a fellow evangelist on my team (Jerry Nixon) put together on the Windows Phone 7 Database.  Here is his follow-up post.

Storing Windows Phone application data is a pretty normal requirement. If you want it to persist across sessions, or even phone reboots, you really have three options:

  1. Save to the Cloud
  2. Save to Isolated Storage
  3. Save to Local Database

Each is correct for certain scenarios. But in this article, I will ONLY walk through the Local Database. This is an enhanced version of SQL CE – meaning your SQL skills are an asset. And, if you don’t….


Add Facebook Login to Your WP7 App

imageHaving a single sign-on is cool for you application. In this day an age, it is enough to try to remember even 10 of your passwords.  Outlook/Exchange, LiveID, Facebook, etc…  If I had to remember a password for every website and app I have, it would drive me crazy. Good thing that we have claims based identity.  Now I just need to remember my LiveID of Facebook Sign on (Among others).  Now if you are creating a WP7 application and want to take advantage of that, you can take advantage of a nuget package that takes the hard work out of it for you.  My buddy Bruno Terkaly has created step by step instructions on how to add this to your windows phone application.

Read More Here

The Tale of 3 Platforms

It was the best of times… it was the worst of times….  ok..ok… it is really the best of times to me.  The tech world continues to push all things into a mobile format and I am loving it.

I certainly have my opinions on operating systems, and ease of development, and best IDEs etc… but I thought I would put this to the test with a multi platform development approach.  Starting next week, I will be doing the same application on all three platforms (or possibly 6 if I include IPad, Android Tablet and Win 8 later).   The application is called Uncorked, and it is a way to log and rate your wine collection.  It will include the following features :

1) The use of a Wine API to store my data

2) The ability to scan my bottle to either look up or rate the bottle

3) Room for tasting notes

4) Saving of label pictures

5) And a few data points, price, when to drink by, purchase date, and info about the wine.

V1 will keep it simple so we can write all three in a quick fashion (I hope).

I will start from absolute 0… Brand new machine ( which I will blog about), install of tools, testing, patterns, etc…

I will not be using Phone Gap for this project ( But will be doing another series along side this one using phone gap and a different app)

Feel free to comment, make request, help out, debate, or just read the series.  I hope you get as much out of it as I hope to.


Others in this series

[catlist name=taleof3platforms]

What is 4G

As I talk to phone owners I find it funny when people talk about 3G 4G etc… I ask them if they know what they mean and most of them say no… but they know it means faster Smile  ….   “G” is not a technology but it just is an abbreviation for Generation  4G = Fourth Generation.

But within those generations, there IS the technology that makes them faster.  I found a great video that explains the complexities simply.

“If you cant explain it simply, you don’t understand it well enough” ~ Albert Einstein

Now you know Smile