[Android] Port to PhoneGap 2.0. Also replace tabs with spaces.