Tuesday, March 4, 2014

How to get android mobile device model/IMEI number and check internet connetion using cordova 3.3.0

http://cordova.apache.org/docs/en/3.3.0/cordova_connection_connection.md.html#Connection

1) install plugin
cordova plugin add org.apache.cordova.network-information 
and use window.device.model for model number and window.device.uuid for IMEI number
var networkState = navigator.connection.type

No comments:

Post a Comment