Code checked in for android inapp version3 phonegap plugin.