System InformationNamespaceThe QtMobility APIs are placed into the QtMobility namespace. This is done to facilitate the future migration of Mobility APIs into Qt. See the Quickstart guide for an example on how the namespace impacts on application development.
System InformationThe System Information API provides a set of APIs to discover system related information and capabilities. OverviewThe System Information API returns the system information related to a number of categories. Information CategoriesVersionContains version information for a range of supporting software on the device. For example, from the Operating System and Firmware to the version of WebKit, Qt and the Service Framework. Features (hardware)This lists the supported hardware on the device. Features include items such as the camera, bluetooth, GPS, FM radio etc. NetworkThe state of the network connection, and also the type of network e.g. gsm, cdma, ethernet etc. Display InformationStorage InformationThe presence of various storage devices. Including: none, internal, removable, cdrom. Device Information
ScreensaverBuilding and compilingTo build the library, run qmake and make. Linux supports a NetworkManager based backend and generic backend using QNetworkInterface only. By default the generic backend is selected. If the NetworkManager backend is required run qmake as follows: qmake BACKEND=NetworkManager The backend selection is expected to disappear once the API is integrated into Qt. Main Classes
QML ElementsThe Qt SystemInfo offers access to system information through declarative UI by providing systeminfo elements. Detailed information can be found at QML System Information Plugin.
ExamplesSystem Information ExampleThe System Information example demonstrates how an application can very easily access the system information of the device. System Information QML ExampleThe System Info QML example demonstrates how an application can very easily access the system information of the device. © 2008-2010 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy X
|