Saturday, June 16, 2012

CyanogenMod 7.2 official release!

The official release of CyanogenMod 7.2 for Android is out!

And yes, I already have it installed on my HTC EVO 4G.

Teaching myself Groovy and Grails

I've just finished up my first web introduction to Groovy and Grails. It's a very interesting development platform, and one that holds a lot of promise for future portal and web-app development at my day-job.

One of the variants I have seen is, what is the most efficient method to provide database connectivity between a Groovy/Grails app and a database server?

I've seen two examples:
1. Using a data model to define the database, and use the data model to pull data into your app as needed. I imagine this is the most-often used method(?)
2. Using a hard-coded db query in the control file to manually set exactly what data is being pulled for a single-task-centric application. For example, an app that is meant to only display a single piece of information about a user, like "Balance Due", "Meals left on your Board Plan", "Final grades from last semester".

I need to do some more investigation myself into the "best practice" method of implementing database queries, but I am open to hear any comments on benefit/costs of using either strategies above in Groovy/Grails.

Wednesday, June 13, 2012

Problem flashing CM7.2 nightlies since RC3

I have had to roll back the last three attempts to flash a CM7.2 nightly to my EVO, which is currently running the CyanogenMod 7.2 RC3 build.

The main symptoms are:
Applications appear removed from the system, any shortcuts to those applications are either missing or do not open.
The Google Play store indicates that I must link a Google account in order to open, prompts "Do you wish to add an account now, Y/N?" but if I click "YES", the dialog and app just closes.

Am I missing something that I should be doing when going from RC3 to one of the 3 later nightlies? (5/27, 6/3, 6/10).

It just recently occurred to me that I might need to re-flash the Google Apps add-on to my phone to fix the account problem, but I am just taking a stab in the dark at this point.

I do run Titanium Backup, but haven't tried doing a full data wipe and then restoring from TB, but unfortunately TB was one of the apps that appeared missing.

I would like to avoid having to do a full wipe if that is acceptable between RC3 and later nightlies. If this is just a pipe dream and a full wipe is manditory, I can bite the bullet and give it a try.