As I’ve been playing around with the ApplicationInfo class, I thought my Splash Screen stuff would be so much nicer if it were a little more… generic?
So with that in mind, I’ve updated my Flex Splash screen project to impliment the ApplicationInfo class, and use that to load information such as the version numbers, application names and application icons. Maybe it’s not the most efficent way to do things, but what the hell, it’s a good example for implimenting the ApplicationInfo class.
Download the updated Splash Screen example Flex project here.
Well, I’ve finally gone and done it – I’ve now got a project on Google code and I now feel like a proper part of the coding community. We’ll see how long that lasts. I’ve just uploaded the first version of my AIR ApplicationInfo class, and no doubt I’ll be adding, extending and improving on it in the future – with the added bonus that now I’m not the only one who can contribute. You can access the project here.
How did I do it? Well, it’s really all thanks to Internet Duct Tape‘s “Getting Started with Google Code Hosting, Subversion, and TortoiseSVN without feeling like an Idiot” article, which does exactly what it says on the tin. I got a Google Code project, learnt what the hell TortoiseSVN actually does, and did it all within 10 minutes.
Extracting the application information for an AIR application is in some ways a simple process – it’s not like the process is too difficult – it’s a bit of E4X on some data that is readily accessible from the application itself. But if you’re like me, then repeatedly accessing this information is a bit of a tiresome process. So, I made a class that can do it for you…
ApplicationInfo, as I’ve so cunningly called it, is a class that gives you information straight from the application descriptor file – including application name, version, description and even the filepaths to the application icons. I wouldn’t say it’s perfect – projects in their first iterations rarely are – but it’s a start.
Download the ApplicationInfo class.