plus.device.getInfo({ success:function(e){ console.log('getDeviceInfo success: '+JSON.stringify(e)); }, fail:function(e){ console.log('getDeviceInfo failed: '+JSON.stringify(e)); } });