cordova 3.x android compatibility

Not sure if works 100%, but you get the idea ;)
Thanks