title: How to set a mock sensor (accelerometer) in android device using programmatically
body: <p>How to set a mock sensor on an Android device?</p>
  
  <p>Is it possible to set a mock sensor using Android API or do we need to use NDK and JNI or use third party library?</p>
  
  <p>Can anybody tell me how to implement this?</p>