android phonegap plugin for server based license checking