Android client-side code using Phonegap