The following editor will bring you some methods of using phonegap to obtain device information. The editor thinks it’s pretty good, so I’ll share it with you now and give it as a reference. Let’s follow the editor to take a look.
device.nameThe name of the device
device.phonegapphonegap version
device.platformType of device
##device.uuidDevice unique identification number
device.versionVersion of the operating system running
deviceis assigned to the window object
The above is the detailed content of How to use phonegap to obtain device information. For more information, please follow other related articles on the PHP Chinese website!