Qt Mobility example application: Fall Detector
The Fall Detector demo application automatically detects when a person falls down and provides a simple notification facility for detected downfalls (e.g. to request first aid etc.). In general the given example application demonstrates the utilization of Location, Contacts and Messaging modules from the Qt Mobility APIs Beta release. The application also uses the acceleration sensor of a device. But since the Sensor API module from Qt Mobility is still in technology preview state and dedicated backend implementations are not available yet for any platform, the sensor access is implemented based on parts of the Mobile Extensions package.
Capabilities and Dependencies
The application requires the following capabilities:
CAPABILITY = Location NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment ReadDeviceData WriteDeviceData
Be sure to have the Qt Mobility Beta libraries installed to both your SDK and your device to compile and run the application. Additionally you may have to modify the INCLUDEPATH option within the qt_mobility.pri file to point to the actual location of your Mobility API source folder. This step may be neccessary to overcome some inconsistencies concerning the include definitions of the new Mobility APIs if they are installed or configured properly for your SDK. By default it is assumed that the project's root folder is located in a folder on the same level with the sources of the Mobility APIs.
The code of the Fall Detector sample application can be found at File:Falldetector.zip