Trying to replicate the iOS app for Android (and other platforms) using Phonegap