Tutorials Projects Links Contact

Projects: mSense

< Back to the projects overview page...

The mSense middleware manages, controls, simulates and aggregates various sensors for mobile devices.
The mSense middleware manages, controls, simulates and aggregates various sensors for mobile devices.
mSense is a novel context acquisition and management middleware for high-end mobile phones based on Qt for S60. Within the middleware so called low-level sensor nodes encapsulate platform level APIs for seamlessly accessing hardware sensors, simulated sensor or web services, which are implicitly used as external data sources in the context of the middleware. High-level sensor nodes (so called channels or aggregators) combine information from other sensor nodes to acquire and extract particular sensor information and generate new knowledge. For example, GPS, an accelerometer and a compass could be combined to provide a more accurate inertial sensor node.

For the moment the output is supplied via a native interface, but we will be working on an additional broadcast feature in the future to enable publication of the output data through a network interface or a web service. The current version of the mSense middleware incorporates following low- and high-level sensor nodes.

Low-level sensor nodes

  • Accelerometer: Sensor provides 3D acceleration of device at a configurable rate.
  • Alarm Sensor: Sensor provides information as well as notifications of current active alarms.
  • Calendar Sensor: Sensor provides current calendar data (meetings, etc.).
  • Device Orientation: Sensor provides current device orientation and attitude (rotation information).
  • GPS Location: Sensor provides GPS based location information of the device.
  • Magnetic North: Sensor provides current heading of device with respect to magnetic north.
  • Magnetometer: Sensor provides 3D geomagnetic flux density information.
  • Profile Sensor: Sensor provides information about the current device profile.
  • Weather Sensor: Sensor provides actual weather information via a web-service for a configurable area.

High-level sensor nodes (channels)

  • User Availability: Sensor provides information of the current user status (if the user is available or not). This is done by a combination of the calendar and device profile data.
  • Movement Status: Sensor provides information if the user is currently moving or not. This is done by a combination of the GPS location and the accelerometer sensor.
  • Position / Address: Sensor provides current position information of the user based on current GPS location. An additional a reverse geo-coder is used to retrieve the current position description (address data) for the GPS location.

mSense Demo-Application

The mSense Demo-Application is a simple demo and showcase application built upon the mSense Middleware and realizes more or less a proof-of-concept of the proposed context acquisition approach. The application utilizes the middleware to acquire, visualize and process the data available from real or simulated low-level sensor nodes (like for example the accelerometer, magnetic compass, or other sensors) as well as from high-level sensors (like for example a reverse geo-coder based on current GPS location information etc.). In fact there is a short demo scenario available for each sensor node supported by the mSense middleware. Therefore the main purpose of this application is still the demonstration of the mSense Middleware and it’s usage within other projects or applications.

Another possible approach is to in acquire context data within the the mSense Middleware and publish or integrate this information (Movement-, Position- and Availability data) into the Facebook Platform Community. Therefore the so called Facebook Connect approach is used.

The first thing when designing a new Facebook Application is to create and register it directly on the Facebook Platform.

In doing so we get a specific API Key and an API Secret Key, which is needed to communicate from our mSense Demo-Application to the Facebook Platform. For this showcase we have already registered a Facebook Application called 'mSenseContextTest'.

Mobile Extensions for Qt for S60 - Adaption of 3rd Technology Preview

You can extend your Qt applications on S60 with Mobile Extensions for Qt for S60. The Mobile Extensions are a technology preview. Some of the Extensions will eventually be replaced by the products coming from the QtMobility project at Qt Software. However, the timeframe for those deliveries is not yet established so you will still need to use the Mobile Extensions for the time being. See the Qt Mobility page for more details.

This extension/adaption package of the Mobile Extensions for Qt for S60 3rd Technology Preview adds some additional features and improvements to the original sensor API submodule. This adaption package is based on the original 3rd Technology Preview release and only contains the modified parts of the whole Mobile Extensions package.

Quick Facts

Submit aggregated sensor information to web services like Facebook.


Developed by


  • February 2010


  • Freeware

More Information


< Back to the projects overview page...