Booty Achievements!

Today was spent constructing a Achievement ‘framework’ per-say, which contains a back-end SQLite DB, an achievement class and a extension to the custom timer class I wrote to display the turn timers.

Ironically, the visual requirements were much more animated than the timer was, so using a toast (despite how light weight it was) was out of the question and it made me rethink about my initial choice to use toasts to display the current value of the timer as well. (I’m still learning!)

So, my sights turn to using custom dialogs, which, like toasts can be customized with personal text and images views, yet can be animated to enter and leave and pretty much do whatever you imagine.

At the moment I’m planning on changing the timer class whilst I’m in there doing the achievements stuff and despite it being one of those ‘bells and whistles’ the implementation of achievements has provided me with the opportunity to start playing around with potential data persistence on a mobile device… even if it is just a SQLite local db (and prepared statements :P).