Android Question Orientation and accelerometer

luke2012

Well-Known Member
Licensed User
Longtime User
Hi all,
Starting from @Erel Tutorial (https://goo.gl/h9XuDD) is it possible to:

1) Recording the data (h24 log) about Orientation and accelerometer sensors?
2) Recognize (intercept) if the phone is dropped ?
3) Implement this also within iOS App ?

Thanks in advance for your reply.
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
1) of course, using the correct PhoneWakeState and a SQLite database
2) of course, calculating the G and checking if it is between 0 (free fall) and a higher value (limit you choose) : G = Sqrt(x*x + y*y + z*z)
3) nope as far I know
 
Upvote 0
Top