Deploying an application directly to your phone

An emulator can only do so much.  Now we’d want to directly deploy to our cell phone instead of the emulator.

Jon Box has a nice write up on doing just this.  At first, I was all like, “whatever, I do what I want” (complete with Cartman voice) and attempted to launch it without following his steps and lost.  It was worse than losing a match of Slap Face (a new Olympic sport for the Fall along with air hockey).

Here is the option:

image

But first, as Jon pointed out, you need to do some certs and stuff on the phone.

Connect the device via ActiveSync or Windows Mobile Device Center (Vista). Sorry for the obvious.

  1. Copy the Certs.CAB file (C:\Program Files\Windows Mobile 6 SDK\Tools\Security\SDK Development Certificates) into the Temp folder on the phone, I typically use my memcard.
  2. Copy the SecurityOff.CPF (C:\Program Files\Windows Mobile 6 SDK\Tools\Smartphone\SecurityConfiguration) into the Temp folder on the phone.
  3. On the phone, click on the Certs.CAB to launch install from your File Explorer.
  4. Repeat with SecurityOff.CPF
  5. Reboot the device (you seriously need to do this, I did verify).
  6. Select “Windows Mobile 6 Standard Device” from deployment menu (see picture at the top of this blog post).
  7. Test to verify

Yup, super easy.

No comments posted yet.

Post a Comment

Please add 3 and 5 and type the answer here: