Ranting and raving about anything I feel like complaining about.

Phoney Tools Updated (WP7 Open Source Library)

Url: http://phoney.codeplex.com

Phoney Tools

A new version of the Phoney Tools are available now (v0.3.1). This is the last Alpha release before I get ready for Beta in the next couple of weeks.  The official release is slated for MIX11!

Changes in this version include:

  • Refactored FadingMessage class to not allow concurrent messages, but you can get the behavior by deriving your own FadingMessage class (example is shown in the Example app).
  • Added new Converters: StringFormat, VisibilityConverter, NullVisibilityConverter, MoneyConverter and DateTime Converter.
  • Added new class called GameTimer to handle the FrameworkDispatcher.Update for you when using certain XNA libraries from Silverlight.
  • Added new class called MicrophoneRecorder to simplify recording sound.
  • Added new class called SoundEffectPlayer to simplify playing sounds without a MediaElement.
  • Added new class called PhoneNetworking to allow you to detect what type of network connection the phone is using (if any).
  • Fixed a number of small bugs.
  • Refactored the Example application to show off all the new features.

You can get the library by going to http://phoney.codeplex.com or using NuGet to get the latest Phoney Tools package!

Let me know what you think!

 

 
 

Comments

Gravatar Hi Shawn

I just had a look at the PhoneNetworking class in your PhoneyTools package and I see that you are using NetworkInterface.NetworkInterfaceType to determine what kind of network you are on. I'm not sure if you are aware but accessing the NetworkInterface.NetworkInterfaceType property is actually a blocking call and can a considerable amount of time to return (especially when no network connection is available). I know it's a property not a method so you wouldn't expect it to block the thread but alas it does.
I've blogged about it here http://cisforcoder.wordpress.com/2010/11/27/better-way-to-check-for-an-internet-connection-on-wp7/.

Just thought you might like to know.

Aiden Caine
Gravatar Aiden,

Thanks! I'll refactor it for the Beta.
Gravatar Hi,

Are you aware of a way to use NuGet from command line or integrated in IDE for Visual Studio 2010 Express for Windows Phone? It seems that for the Express versions the Extension Manager, to allow adding the NuGet Package Manager to VS, is only available in VS Web Developer 2010 Express.

Thanks,

Allen
Gravatar Hi,

PS...I do see the NuGet requirements from the documentation FAQ. "NuGet requires Visual Studio 2010 or Visual Web Developer Express 2010." I'm looking for a workaround for WP7 development.

Thanks again,

Allen
Gravatar Allen,

I am trying to get NuGet white listed for WP7 but currently it doesn't work. My suggestion is to just get the release on CodePlex, build it and use the assembly as a reference.

Add a Comment

*
*
*