====== Movements Classification ====== ==== Name of the members of the Group ==== * COLINET * Joël * SI5/IAM (Apprenticeship) * jcolinet@polytech.unice.fr * ZANOTTI * Guillaume * SI5/IAM (Apprenticeship) * zanotti@polytech.unice.fr ==== Equipments ==== * Windows Phone Nokia Lumia 520 * Personal phone: YES * IMEI: 357257052593162 ==== Content of the Project ==== The project consist to develop an application on Windows Phone 8.1 to collect information on the user movement through the various sensors of the phone, and particularly GPS. The main information collected in our project is the user movement speed which is obtained through the phone GPS. The API used is ".NET Location API for Windows Phone" and the namespace used to get the user speed is "Windows.Devices.Geolocation". Thanks to a decision tree, the data collected are divided in three categories: * immobile user ; * user in pedestrian movement ; * user in transports (car, bus or others). After processing, we obtain 3 durations associated with movement status of the user. So we know how and when the user moves. Indeed, we have some details on these trips: depending on the movement speed, we can determine if he moves by foot or in vehicle or if he is immobile. In the application, data are presented in various graphs to give the user speed evolution depending on the time. An historical with possibility of comparison between days is also proposed. Besides, the user will be alerted by notification at the end of the day (or when he launches the application for the first time of the day) if : * he exceeds 125% of the average immobile/pedestrian/transport time in one day ; * he breaks his records of immobile/pedestrian/transport time in one day ; * he spends only 75% of the average (transport) time in transport in one day ; * he spends only 75% of the average (immobile) time to be immobile in one day. The information obtained WILL NOT BE USED to other functionalities or features (such as actions on the phone). Data allow to alert user and to provide him some statistics about his movements. ==== Software packages ==== === Readme === Here is the link to the readme of our project: [[https://www.dropbox.com/s/pziobpgmle5ylvi/readme.txt|readme.txt]] === Project zip file === Here is the link to the zip archive of our project: [[https://www.dropbox.com/s/fypjb0sy800ewsz/plimproject-jcolinet-zanotti.zip|plimproject-jcolinet-zanotti.zip]] === All required softwares === No other software is required to use our application. ==== How to use it ==== MovementsClassification application is a run location-tracking app that runs in background and foreground. Indeed, the PositionChangedEventArgs is raised when the GPS detect a change of position or speed. The user doesn't have to do anything except launching the application to start the tracking. If the user kills the application, the tracking is stopped to preserve the battery (security from Microsoft in order to prevent applications to generate battery issues). During the day, when the application is launched (background/foreground), it will track the speed of the user and add some data to the current day graph (plot). {{http://img4.hostingpics.net/pics/336080wpss201411130001.jpg?140x235|current day}} {{http://img4.hostingpics.net/pics/160894wpss201411140001.jpg?140x235|current day}} An historical is also available to compare previous days records (for one day, the duration for the user of being immobile, in pedestrian movement or in transport). {{http://img4.hostingpics.net/pics/825681wpss201411130002.jpg?140x235|historical}} Some records are also registered: * minimum time of being immobile, in pedestrian movement or in transport for each day ; * maximum time of being immobile, in pedestrian movement or in transport for each day ; * average time of being immobile, in pedestrian movement or in transport for each day. {{http://img4.hostingpics.net/pics/547968wpss201411130003.jpg?140x235|records}} Note that the user can reset data stored by the application. {{http://img4.hostingpics.net/pics/363531wpss201411130004.jpg?140x235|settings}} By using the MovementsClassification application, the user accepts to be tracked when he launches the application (and when the application runs in background). He can stop the tracking simply by killing the application. In this case, no data will be add to the MovementsClassification application. To sum up, here is the panorama of the MovementsClassification application. {{http://img4.hostingpics.net/pics/336080wpss201411130001.jpg?140x235|current day}} {{http://img4.hostingpics.net/pics/825681wpss201411130002.jpg?140x235|historical}} {{http://img4.hostingpics.net/pics/547968wpss201411130003.jpg?140x235|records}} {{http://img4.hostingpics.net/pics/363531wpss201411130004.jpg?140x235|settings}} ==== Results ==== The main results of the project allow user to have some statistics about his movements in some graphs. Thanks to the application, the user knows how long did he pass immobile, in pedestrian movements or in transport. Computations of MovementsClassification application are made thanks to a decision tree based on the user speed collected by the phone GPS. It allows to the user to adapt his movements in order to waste the least possible time in transport for instance, or to remind him to keep moving (if he stays immobile a long time during a day). To do this, the user is helped by our application which alert him in function of his activities.