Posted on Monday January 2012
Having acquired a Windows Phone I now want to build some apps. That and there is a competition going at the moment where I can win a newer phone. Much procrastination ensues.
I have spent some time researching; I had a few ideas such as a basic dictation app.
There are a number of issues in building a decent solution, not insurmountable but certainly difficult. For instance although we have a WMA decoder on the phone there is no encoder. There are several third party and open source libraries to bridge this... but they must be in managed code. And run on .NET CF. So, not impossible, just a massive pain in either porting a solution or hunting something down.
And there's the question of whether a phone is the best place to be transcoding audio on the fly...
Or another idea to be able to update the tile of a bookmarked web page on the start screen. By default you get a picture of the webpage you were looking at, which is... crap. Sounds trivial, but your sandboxed and have no access to do this. We hear tell of dodgy pinvoking assemblies around that access the registry and let you run unmanaged code. There is probably a solution somewhere down that path (I'm guessing the bookmarks are either in a system folder somewhere or in the registry - it is Windows running on there after all) but good luck getting that submitted to the market place.
I got some skills in Silverlight, HTML and JS, so native apps or Phone Gap apps are both open to me. And I reckon I can cobble an XNA based app together.
Problem number one - what to build?
My advice, to anyone who would listen, would be to:
For me point 2 translates to
"what annoys me, is a hassle, or a little pain when using the phone"
and/or
"what do I wish I could do but can't on this phone"
I've got a lot of problems. Personal issues aside, I do have few things I want out of this phone:
Some of these are easily solved by having a look through the market place. Some of these are opportunities (as far I can see). And some of these are really only going to appeal to me.
Oh, and I like free.
I'm going to pick an easy (I hope) one - a weather app. Hey, hey, why not, I've already written a couple for my own personal pleasures. I want total saturation of weather information on all devices!
The problem statement is going to define the scope and hopefully keep us focused on just doing the one thing well:
Show me upto date weather info for Melbourne
And here's a bunch of features, both functional and technical
Use the BOM data. This is some good data! It's in a pretty crap format, it's XML at least, but in a very generic structure (xml elements are called... element! Yeah that makes sense). Actually, maybe making things as key-value pairs provides flexibility? It's free! It's accurate, the BOM are pretty much the source of the weather data round here.
At least I think it's free, I'm using the data for "ingestion by computers". Delicious. I don't think I'm performing "secondary distribution" - you cannot use this app as a source for some other system. Nor am I caching or proxying the FTP data on my sever, I explicitly do not want to do that.
Maybe I should ask.
Hello, I am writing a windows phone 7 application to show forecast and current observation data on the phone for the Melbourne area.
As per your policy on http://reg.bom.gov.au/catalogue/data-feeds.shtml I believe my use is acceptable - the app will be free - the app will pull direct from the BOM FTP server and cache locally so as not to unnecessarily hit your servers. - it is not performing "secondary distribution" in the sense that the app cannot be used as a source for further consumption - I am happy to add copyright and source information within the app
Is my usage acceptable? Is there anything else you require me to do?
Regards, Ben
This adds a new feature:
Live Tile. I checked out the Microsoft weather app, its biggest complaint - no live tile! At the very least we can update the tile when we exit the app with the last cached observations.
The live tile will show the icon for today's weather and the most recent temperature observation. Observations are available in JSON, probably also as XML somewhere too.
Show today’s forecast in detail, show a summary for the rest of the week, fit on one screen. I'm keeping it simple, simple in terms of I just want to glance and see enough info for today, less info for tomorrow. It's like a KPI dashboard report. I'm going to limit the number of future days to only show the next five, so as to have a consistent display and I'm pretty sure there will always be five days forecast available.
We need a wireframe/mockup! Paint is my favourite tool for this, as I am graphically retarded.
OK, so looking at that:
The Live tile will look like the future tile.
I think that covers the enough detail. Lets get cracking!