Created
April 20, 2012 15:04
-
-
Save macdonst/2429425 to your computer and use it in GitHub Desktop.
IMEI Plugin for PhoneGap 1.4.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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