Reads the cpu info of your mobile.
TODO: Write these instructions
TODO: Write these instructions
If you are using jQuery, AngularJS, WinJS or any Promise/A library (Bluebird), promise style is supported. Use something like:
cordova.CPUInfo.getMacAddress().then(function (address) {
$('.address').text(address);
});
If not, pass a callback function:
cordova.CPUInfo.getMacAddress(function (address) {
alert(address);
});
In addition to the mac address you can also retrieve other details about your application:
Returns the mac address of the mobile
Returns the name of cpu
Returns the current frequency of cpu
Returns the min frequency of cpu
Returns the max frequency of cpu
Returns the number of cpu cores
Returns the total size of ram
Returns the available size of ram
Returns the total size of sd
Returns the available size of sd
Returns total size of rom
Returns available size of rom
Returns the start time of the mobile