0

i am making an app with vue.js but i want to make one of the features that if you are driving in a car and your cellphones gyroscope or accelerometer detects sudden stop when you crash it notifies the other 6 users on the app, this is for a project and i am stuck with this issue

the problem is that i do not know what coding to use for using the cellphones gyroscope or accelerometer (whichever one is best) and need some expert help

i have no knowledge of how to do this and i am a complete amateur in this department, any advice or links will help

this app will be for personal use and a college project

Thanks, much appreciated

Tiaan Els
  • 1
  • 1
  • 2
    Hi. Can you provide some more technical details? Is it a website you open on a phone or do you use a packaging framework like ionic or cordova? – stombeur Jul 11 '18 at 12:15
  • also see this - https://stackoverflow.com/questions/4378435/how-to-access-accelerometer-gyroscope-data-from-javascript – stombeur Jul 11 '18 at 12:16
  • sorry for being unclear. I am using vue.js to make the front end and using cordova to use on android phone. and want to use the phone's gps/location to detect if phone has a sudden stop – Tiaan Els Jul 11 '18 at 12:29
  • Just out of curiosity - are you going to crash your car to test your application? – TDG Jul 18 '18 at 17:25
  • No. I am going to throw my phone off the third floor on some matresses. But please refrain from questions that has nothing to do with the problem – Tiaan Els Jul 19 '18 at 05:41

0 Answers0