• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to draw projectile motion using phone sensors data.

I want to use my phone as a cricket bat and want to draw projectile motion path of the ball using phone sensors data when I make a shot with the phone. Is there any android library for ball trajectory draw using phone's sensors (accelerometer and gyroscope sensor) data
 
How would this work? Presumably you're swinging the phone in the action of a cricket bat, but how does the phone know the point of contact with the ball, in relation to your motion?
 
Back
Top Bottom