Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The PhoneGap Device object allows an application to access a limited amount of information about the application and device running a PhoneGap application. The device object represents the following properties:
• device.name: Returns the name assigned to the device; this could be something assigned by the device manufacturer or assigned by the smartphone user depending on the mobile device platform.
• device.phonegap: Returns the version of the PhoneGap framework used to build the application.
• device.platform: On most platforms, returns the name of the mobile device platform the application is running on. Exceptions will be discussed later in the chapter.
• device.uuid: Returns the universally unique identifier (UUID) associated with the device (http://en.wikipedia.org/wiki/Universally_Unique_Identifier).