Tuesday, January 3, 2012

Microsoft Most Valuable Professional Award for 2012

In 2012 I’ve again been awarded an MVP as a Windows Phone Development professional. 

The last few months of 2011 have been very busy with client commitments and it looks like both January and February will be as well.  Once I meet my commitments, I’m going to be turning my focus to figuring out a real-world strategy for the vision Microsoft has been projecting for the past few years “3 Screens and the Cloud”.  With a hopeful beta of Windows 8 sometime in the first half of the year, Windows Phone 7.5 and the latest XBox 360 dashboard update there are a lot of things are going to be converging to create an eco-system like no other.  My focus will remain on mobile devices, however having the software we build provide a cohesive experience across all the three delivery platforms with the cloud as a common denominator makes things very interesting.

Also, I have very high hopes for Windows Phone this year, especially after looking at upgrading my HTC HD7 to an HTC Radar on the T-Mobile Site.  It was very interesting to see the ratings on the phones.  First up was the Samsung Galaxy S II with a whopping 9 reviews.  Then a Blackberry with two whole reviews, a couple of SIM cards which we can throw out but then the HTC Radar with 106 reviews and as you can see they are almost all 5 stars.  So not only a very high review but a considerable number of folks are buying the devices!

image

Until we meet again!

-twb

Tuesday, October 18, 2011

Windows Phone Emulator – Black Screen after boot

I recently upgraded laptops, it has a dedicated AMD/ATI graphics card as well as an Integrated HD graphics adapter.  After getting it all setup I tried to work on a Windows Phone app.  Everything went fine but when I started the app on the emulator after the initial “Windows Phone” … “Loading” screen, the screen went blank as shown below

image

After putting this out to a mailing list I’m on I received good feedback from Rob Miles and Den Delimarsky that the issue might be this sort of dual graphics adapter configuration.

After a little bit of searching, I found a mechanism within the Catalyst Control Center where I could assign different modes to different applications.

So after finding XdeLauncher.exe at C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\XDE Launcher I configured it to use the Power Saving graphics processor and life is good again (i.e. my emulator works great! Winking smile) .

image

-twb

Windows Phone and Kinect Playing Together Materials

Attached you can find my materials for my Windows Phone Developer talk 

 

Saturday, September 24, 2011

Windows Phone 7 – Quick Tip #33 – Be aware of the amount of memory your application is using

If you are building a Windows Phone 7 App, you should be aware that if your application uses more than 90MB of RAM it will get rejected from the marketplace.  One easy way to check how much RAM your application is using is to add Peter Torr’s  most excellent memory counter.  It adds an additional counter to your app.  You know, those counters…those funny little numbers on the right  to your application when you run it in the debugger.

Anyway, check out Peter’s post, and while you are there, you might as well subscribe to his blog…

http://blogs.msdn.com/b/ptorr/archive/2010/10/30/that-memory-thing-i-promised-you.aspx

Peter is a great asset to Microsoft and works on the Windows Phone 7 Platform Development Team.

-twb

Thursday, September 8, 2011

Windows Phone 7 – Quick Tip #32 – Read Contents of Local File

This Quick Tip was stolen for DevFish’s TackleBox app.  I wanted to put some configuration data into my application to be picked up at runtime.  For this approach Isolated Storage didn’t make a lot of sense.  This data was stored as a simple text file, but it could be an XML document, JSON or even and image.  I just needed to get my hands on the content of the files and do something with it.  After fixing the bugs in Joe’s code, I found you can access these files with the following code snippet:

image

Where the file name that is passed in will be the full name of the file.  In our case we would pass in something like Manifest.txt.

One very important note:  Even though you are calling Application.GetResourceStream, you MUST specify that your content type is of type Content.  This will make sure the file gets packaged up and included with your XAP and not compiled into your binary.

image

-twb

Wednesday, September 7, 2011

Windows Phone 7 – Quick Tip #31 – Safely Save Passwords in your WP7 App

Normally you save your application settings in Isolated Storage, this is pretty secure, but really isn’t the best approach for storing stuff you need to protect.  Although I guess anything is possible with enough time and computing horse power the Windows Phone 7.1 SDK provides a more secure mechanism to store things like passwords or application keys.  It’s called ProtectedData and provides a mechanism to takes byte arrays and encrypt them and turn them back into their original state.  This class is in the System.Security.Cryptography namespace.

This could be a simple way to use this to protect passwords in your application.

image

Just as a heads up if you try to use this in your XNA application, you’ll need to add the assembly mscorlib.extensions to your application.

-twb

Tuesday, September 6, 2011

New Short URLs for Florida Developers WP7 Apps

If you are registered on the FL App Developers Site http://www.flwp7.com we have a new feature available to you. 

Here was the problem…you were out and wanted someone to download your app or you wanted to put a link to it on some printed marketing material.  In the past you had to enter the big old Zune based URL like zune://navigation/?phoneAppId=b7522342-4235-a532-be54-13bc43ef1423 which was pretty much impossible to enter correctly.

With this new feature available to you from the Florida Developer Community Site, you can create smaller, more friendly URL’s that can easily be entered to bring people to your application.  For example with the URL http://flwp7.com/cs you’ll be brought to the market place page to download ContactSwap. 

To use these, make sure you and your apps are registered as a developer at http://www.FLWP7.com.

Then simply when entering your applications information, specify a few letters to create the unique URL at the bottom of the page.  For ContactSwap I entered the code CS:

image

This will allow anyone that navigates to http://flwp7.com/cs on their phone to be brought directly to your app on the marketplace.

While you are on the www.FLWP7.com site, make sure that you browse the apps that all the local folks created and download a few and check them out!  Support your local App Developer =D.

-twb