  In this paper, we present an Android application to control and monitor the
physiological sensors from the Shimmer platform and its synchronized working
with a driving simulator. The Android app can monitor drivers and their
parameters can be used to analyze the relation between their physiological
states and driving performance. The app can configure, select, receive,
process, represent graphically, and store the signals from electrocardiogram
(ECG), electromyogram (EMG) and galvanic skin response (GSR) modules and
accelerometers, a magnetometer and a gyroscope. The Android app is synchronized
in two steps with a driving simulator that we previously developed using the
Unity game engine to analyze driving security and efficiency. The Android app
was tested with different sensors working simultaneously at various sampling
rates and in different Android devices. We also tested the synchronized working
of the driving simulator and the Android app with 25 people and analyzed the
relation between data from the ECG, EMG, GSR, and gyroscope sensors and from
the simulator. Among others, some significant correlations between a
gyroscope-based feature calculated by the Android app and vehicle data and
particular traffic offences were found. The Android app can be applied with
minor adaptations to other different users such as patients with chronic
diseases or athletes.
