A few weeks ago I got myself a shiny new SmartPhone - the AudioVox SMT-5600. I really like the phone and the integration it provides with office. I admit though that beyond auto-synching my address book and calendar and playing MP3 ringtones I'm not taking especially much advantage of the phone <g>...
Part of the reason I got it though is to start playing with writing some code for this platform. I have an application (a custom time tracker I use) that could benefit from allowing logging in through a Web Service for example.
I've been working on this small app off and on in Whidbey for the last week or so trying to get a handle on some of the new features in Windows forms (nice - I'll have more on this in a few days).
Being the kind of 'jump around' guy that I am I wanted to try the new integrated SmartPhone projects. I set up my form application, set up the Web Service on my local server to post the data and went ahead built a very simple front end that is to communicate with the Web Service.
I was able to run the application on the emulator and, well, it crashed when trying to access the Web Service. Ok, so try again in Debug mode. Unfortunately I was not able to get the app to run in debug mode. The emulator starts and VS.NET thinks about it for a while but I get the incredibly informative message:
Unable to start Debugging.
Alrighty then. Not much to go on. <g>
Googling around a bit didn't yield a whole lot of information, but a couple of posts seem to point to making sure that the phone emulator has a valid IP address - presumably so VS.NET can use Remote Debugging to debug the code on the device.
I'm not really sure how to check for the IP address of the device as suggested. I did set up the device to use the NetCard for its net interface:
- Go to Settings, then Data Connections (Shortcut: L, 8, 9, 2).
- Change Work Connection to NetCard (Is that short for Network Card? Who knows? *shrug*).
- Click Done.
- Go into Internet Explorer (Shortcut: L, 4).
- Click Menu, then Options (Shortcut: R, 7).
- Uncheck Automatically detect settings.
- Change Select Network to Work.
- Click Done.
and afterwards made sure that the phone can get on the Internet. I'm not sure if that's the same thing as the 'device having an IP address' though - checking my DHCP table I see no entry for a secondary connection.
It looks like deployment works fine - if I just run the app without debugging it actually comes up in the emulator and I can run it until I bomb on my own code <g>. This is why I need to debug and get additional information.
Anybody have any clues?
I'm using the November CTP of Whidbey.