Inter-app communication using phone gap on Android