The Context manager module handles context-related monitoring and reasoning for the user. It provides a framework for implementing context types and context detection with core implementations. New context types can be introduced by extending the provided base class implementations. The context manager can access sensors with the help of a separate Sensor Manager as well as other context sources.
The Context Management API provides methods to accessing and managing context information.
HELIOS Context Management API of ContextManager is one of the HELIOS Core APIs as highlighted in the picture below:
shows how to create two contexts "at work" and "at home". In addition, it shows
how to relate the created contexts to CEN (contextual ego network), and how to use profile information within the contexts
this example application depends on the modules: eu.h2020.helios_social.core.profile and eu.h2020.helios_social.core.contextualegonetwork
ActivityContext - "ActivityContextExample1.java" shows how to create contexts for different activity types: "Walking", "In vehicle", ...
WifiContext - A wifi-based context (see "WifiContextExample1.java")
BluetoothLESensor - A bluetooth LE sensor example ("BluetoothLESensorExample1.java")
DeviceSensor - An example how to use the class DeviceSensor, which provides methods to use Android devices build-in sensors
that measure motion, orientation, and various environmental conditions ("DeviceSensorExample1.java").