Skip to content

Instantly share code, notes, and snippets.

@macdonst
Created April 20, 2012 15:04
Show Gist options
  • Save macdonst/2429425 to your computer and use it in GitHub Desktop.
Save macdonst/2429425 to your computer and use it in GitHub Desktop.
IMEI Plugin for PhoneGap 1.4.1
var IMEI = function(){};
IMEI.prototype.get = function(onSuccess, onFail){
return PhoneGap.exec(onSuccess, onFail, 'IMEI', 'get', []);
};
PhoneGap.addConstructor(function(){
PhoneGap.addPlugin('imei', new IMEI());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment