Accelermoter HTML5 – Checking screen orientation on mobile devices

AnswerStackCategory: Mobile DevelopmentAccelermoter HTML5 – Checking screen orientation on mobile devices
Dylan Dexter asked 3 years ago

Does anyone know how to use the accelerometer extension in HTML5 for checking screen orientation on mobile devoces?
I don’t seen to be able to get any reading back from it, – not sure if it actually works at all of I’m just missing something.

1 Answers
Danny Staff answered 3 years ago

Good question, as I needed this myself for an upcoming project. I’ll test this myself tomorrow or Friday to see if it works and post my findings…