Code for Bedside Clock Windows Phone App
This repository holds the code for Bedside Clock Windows Phone App.
This was originally a project just for me to learn about developing for Windows Phone, and to replace the better built-in clock I was missing from my Android phone. You can probably tell this with some of the slightly gratuitous features I added (phase of the moon calculations anyone?)
It's done reasonably well at the App Store with around 13,000 downloads as of February 2013. However, I'm getting rid of my Windows Phone so I thought I'd donate the code to the community in case anyone was interested in developing further.
Hopefully the code is pretty self-explanatory, and should be able to be built out of the box using Visual Studio 2012 with the appropriate Windows Phone 8 SDKs installed.
There are some xUnit.net unit tests I added, so obviously to run those you'll need to install the appropriate test runner executables.
Somewhat painfully, it's not very easy to hold config values in a Windows Phone app (why no support for app.config?), so there is one setting hard-coded into the code that should bechanged if you adapt the code.
The value is the yahooApiKey used in YahooLocationServices.cs that does the address lookup. If reusing this code, please use your own API key from http://developer.apps.yahoo.com/. Thanks!
Screenshots and icons
The icons and images used on the app store are all in the /Screenshots directory. As you can see, I am definitely no artist, and the app icon is particularly ugly. Anyone who would like to improve this, feel free!