Qt Mobility API Basic Examples Part 1
m (Hamishwillee - Addition to article of: Category:MeeGo Category:Symbian. (Add platform categories))
|Line 160:||Line 160:|
* SDK help
* SDK help
--[[User:Skumar rao|Skumar rao]] 19:12, 2 April 2010 (UTC)[[Category:MeeGo]] [[Category:Symbian]]
--[[User:Skumar rao|Skumar rao]] 19:12, 2 April 2010 (UTC)[[Category:MeeGo ]] [[Category:Symbian]]
Latest revision as of 12:57, 13 June 2012
This article introduces 5 sample applications that demonstrate the capability of Qt Mobility.
 General Instructions for building the code examples
- Unzip the examples and use Qt Creator to open the .pro file
- Add certificate and keys for required capability
- Build to get the sisx file
This example shows how to read device information like
using QSystemDeviceInfo and shows on a Qt Dialog
File:QSystemDeviceInfoExample.zip - updated 25 November 2011 (tested on Symbian Anna Qt SDK 1.1.4)
This example shows how to read device display information like 1. Brightness 2. ColorDepth using QSystemDisplayInfo and shows on a Qt Dialog.
This example shows how to read System information like
- AvailableLanguages Array
- Version [OS, Core & Firmware]
- Device connection features like
- FM RadioFeature
using QSystemInfo and shows on a Qt Dialog.
This example gets the device network status also if find the corresponding SignalStrength , Mac Address, NetworkName using QSystemNetworkInfo and shows on a Qt Dialog.
This example gets the all drives connected to device and list corresponding total & available using QSystemStorageInfo and shows on a Qt Table Widget.
This example takes phone number & text body from user and sends a SMS to phone number. It has option to delete the message in case it fails.
This example reads all SMS & MMS messages from phone and displays in a tree like structure. when a node is selected the user can see the detailed message.
This example reads all contacts and shows as a list.when an element is selected the user can see the detailed of the contact.
This example reads current coordinates (using data network)and shows on a dialog. Mobility API used : QGeoPositionInfoSource & related APIs
 Sample Applications using above Qt Mobility APIs
 Qt Forward SMS
This Sample application takes a destination Mobile number, and keep an eye on the inbox if a message is received then a notification message will be send to destination phone number with details / full content of the received SMS
 Qt SMS Preview
This Example application keep an eye on the inbox if a message is received this application will show a Dialog with full content / summary of the SMS on screen. By using this application user do not have to open viewer to see what the message is all about.
Note: For SMS Monitoring the Qt Extension APIs are used (this sample application will be updated to use Qt Mobility only in future.)
 Qt Call Alert
This Example application observes of any calls and sends a message to a predefined number.
Note: For Call Monitoring the Qt Extension APIs are used (this sample application will be updated to use Qt Mobility only in future.)
 Qt iReached
This example application will send a message to a predefined number when phone detects a pre-fixed co-ordinates by user.
 Qt AntiTheft
This example application will detect SIM change and send new SIM info's to a pre-defined number, so that user can recover his phone in-case of theft.
Note: this application requires auto-stating a exe on boot-up for that this application uses Symbian "Startup List Management API", will be updated to Qt only when APIs will be made available.
 Qt iAmHere
How many times have you spend ages trying to explain somebody where you are so that your friend can come to same position, and waste lots of time and money using call. With this application you can send a SMS that contains a link to your current position, receiver just have to click on the link to see your position on Google MAP.
--skumar_rao 19:12, 2 April 2010 (UTC)