Get android pin according to sensor value
update in 2018/03/26
- Android Application
- Android Servlet
- Database
- Classifier (Tensorflow - CNN)
An Android application that can listen to mobile sensor's value.It records user's input and sensor value and send data to server for storing in mysql database.
The sensor that can be choose:
- Accelerometer
- Gyroscope
- Magnetomer
- Light
- Rotation_vector
- Proximity
- Pressure
User guide:
- User can choose different sensors that need to be listen to in
SettingFragment - In
RecordFragment, User pressstartto start listening.At this time, user can press any number in keyboard, the number and the press down time, up time, duration will be recorded.When listening, if sensor's value changes, it will be recorded, too.After recording, user can pressstopto end listening.All data will be sent to server immediately. - In
ResultFragment, user could have check the data from database.But because of the limit of sqlite, all data will not store in local sqlite anymore, it will show empty now.
This servlet will be released in the server.
It contains only one servlet, it receives the data from android application and store data in sensorMonitor mysql database in server.
-
record_times
uuid - int<11> - PRI - auto_increment
startTime - mediumText
stopTime - mediumText
content - varchar<100> -
number_press
uuid - int<11>
number - int<11>
downTime - mediumText
upTime - mediumText
duration - mediumText -
[sensor_name]_value
time - mediumText
x - double
y - double (optional according to sensor attributes)
z - double (optional according to sensor attributes)
working on it now(smile)