User interface
Last updated
Last updated
The Trip Analysis UI module is an open source graphical library created to incorporate a user interface for trip analysis management into your mobile application.
It contains 3 main features :
Working hours ;
Feedback crash detection ;
A widget to control the trip recording.
The working hours feature sorts the trips according to whether they are made during working hours.
If the driver activates the feature, he can determine for each day of the week the time slots on which he wants the trips to automatically be considered as:
professional,
personal,
or not recorded at all.
The TripAnalysis internal module contains a crash detection feature. Once activated, using the phone's sensors, the SDK is able to identify if a crash has occurred, and so help the emergency services to intervene.
To enhance this feature, the TripAnalysis UI module contains a graphical interface that can be activated. It informs the driver that a crash has been detected so he can confirm it and ask for assistance if needed.
The Trip Analysis user interface includes a widget to help the user to control the trip recording.
The appearance of the button is updated according to the trip status:
If there are no trip in progress, the user can manually start the trip analysis.
If a trip is being recorded, this component displays the start time of the trip, the duration of the recording and the travelled distance. In this case, the user can stop the analysis to obtain his or her driving scores.
Three options are proposed to the user if he clicks on the button while a trip is being recorded:
The user can declare that the trip is still in progress, in which case recording will continue.
The user can declare that he has completed his trip, in which case the trip will be analysed and he will receive his driving score.
The user can cancel the trip recording if he is not the driver, in this case the trip will not be analysed.