Hello World on IPhone, Android, and WP7

although I am not going to add this to the series I am doing “Tale of three platforms” (mostly because I did not do the video).  I thought I would share this with you. My buddy timothy Strimple @tstrimple pointed it out to me.  It shows what it takes to do Hello World on all three platforms.  As a matter of fact, that is exactly where I am at in the series.

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….


Free Windows Phone



Are you looking for a Free Windows Phone?  Are you a developer?  Do you live on the West Coast of the US? (CA, AZ,ID, WA, NM, CO, NV, OR, UT)  Then I have a phone for you. (Read Below)  If you have been looking for a free windows phone to do development on then all you need to do is contact me.  Email me at Daniel.Egan@microsoft.com and I will send you all the details. (INCLUDE WHERE YOU LIVE in the email or I will not respond  — too many emails :)  )

I want to be clear on a couple of things.

  1. I am getting these phones to developers that are writing applications for the marketplace
  2. I have a limited supply (First ones to get me the info I need)
  3. You must live on the West Coast of the US  (CA, AZ,ID, WA, NM, CO, NV, OR, UT)

If you do not live on the West Coast of the US, I can try to find your windows phone champ for you.  Just post the request here :  http://thesociablegeek.com/forum/?mingleforumaction=viewforum&f=3.0

This does not mean that they will have a phone for you, but if you are developing for Windows Phone, you WANT to know your windows phone champ.  If they don’t have phones, they may know someone who does ( I repeat, I am not saying they have phones Smile , but they may know a way.  Either way, they are a great resource for you. )

So all of you West Coasters, get your Free Windows Phone while they last.  Email me at Daniel.Egan@microsoft.com for the details. UPDATE :  PLEASE INCLUDE WHERE YOU ARE FROM SO I DONT HAVE TO ASK YOU IN EMAIL. (Slowes down the process)

Windows Phone 7.5 Training Kit

Windows PhoneThe new Windows Phone 7.5 Training Kit have been released.  This time there is a Basic Version and an Advanced Version of the Windows Phone 7.5 Training Kit

You can download both of them here : http://bit.ly/w2xF6s


The Basic Labs Include

  • Hello Windows Phone
  • Building your first Windows Phone 7 Application
  • Windows Phone Navigation and Controls
  • Application Lifecycle
  • Using the Pivot and Panorama Controls
  • Accessing Windows Phone 7 Devices
  • Game Development with XNA Framework
  • Discovering Windows Phone 7 Device Capabilities
  • PhotoFun
  • Launchers
  • Choosers
  • Weather Service Push Notifications
  • Using Bing Maps

The Advanced Labs Include

  • Catapult Wars Lab
  • Multi-Touch Game Development with XNA
  • 3D Game Development with XNA Framework
  • Using a local database in the “Tidy” application
  • Background Transfer Service in the “Tidy” application
  • Fast Application Switching in the “Tidy” application
  • Creating Notifications in the “Tidy” application
  • Adding Multitasking to your application
  • XNA 3D Model Viewer
  • Search Integration
  • Background Audio Agents

You can download both of them here : http://bit.ly/w2xF6s

The Web Role was started in a wrong port

imageOne of the great things about Windows Phone is all of the samples that are out there.  And topping them all is the Windows Azure Toolkit for Windows Phone 7 .  The toolkit gives you everything you need to develop a Windows Phone application using Windows Azure. I will do a full post walkthrough of using the toolkit, but I thought I would post about one thing that seems to be tripping people up when they are trying to get things up and running.

If you start the project and get the error Sorry, an error occurred while processing your request, the web role was started in a wrong port, You might scratch your head.  If you peek at the url you will notice that it is running on port 444 instead of 443


The reason it is doing this is because if it does not find port 443 open, it will increment by one until it finds an open port. If you look in your compute emulator you will also see the wrong port. Which is the reason it says The web role was started in a wrong port.  Because it was :)


So now, to fix this you want to see what is running on port 443.  To do this open a cmd window and type in the following netstat –aon

This will bring up a list of what is running on each port.


You want to look for anything that has a :443 at the end of it and look at the last column.  This is the process ID for the process that is using that port.

Next, open up Task Manager and look for the process ids that you found. ( You may need to go to View –> Select Columns first to add the PID column)



My offending applications were:

  • SQL Reporting Services (Which I shut down in Services)
  • TweetDeck
  • Skype

That fixed it for me… hope that helps


Windows Phone App of the Day : FourSquare

Foursquare has been around since the release of Windows Phone but they have made some cool new improvements lately.  They are utilizing the deep linking of the new secondary live tiles to pin specific places to your home screen.  If you would like to see how to do this in your own application, you can check out my post on the subject here http://thesociablegeek.com/2011/11/09/live-tiles-in-wp-mango/

Why is this cool?  Well, if you are a FourSquare addict, then you can save yourself some time by pinning the place you go to the most onto your homescreen.   1 Click will Deep link you into that specific check in.


Besides my post (above), if you want more info on working with live tiles, check out the following :

Jeff Blankenburg has also created a post on Live tiles for his 31Days of Mango Series : http://www.jeffblankenburg.com/2011/11/11/31-days-of-mango-day-11-live-tiles

Or the Jump Start Video on Channel 9


This work is licensed under a Creative Commons license.

The making of the Nokia Lumia 800

As a developer, and I mean as someone who gets his hands dirty in the code that is NEVER SEEN by whomever uses my software, I am always facinated by the design process that goes into making things “Look Good”.  In this short video, you can see how Nokia went about designing their new Nokia Lumia 800 phone which runs the Windows Phone OS codenamed Mango.   Let me know what you think.


This work is licensed under a Creative Commons license.

Work on the Windows Phone Team

The jobs keep coming.  This is a great time to be a part of Windows Phone,  as you can see by my recent posts, there are a ton of great jobs out there for great people… Well here is one more.


Brandon Watson who runs Developer Experience for Windows Phone has a position on his team.   You can read his clever way of posting it here http://www.manyniches.com/windows-phone/windows-phone-is-hiring-on-my-team/  (Its all in Tweets)


Or you can look for the official position description here.

Either way, I can attest, it is a cool way to spend your day…. So send in your resume and join the team.

This work is licensed under a Creative Commons license.