0

I'm developing a library for Android, that you can integrate in your project and using it passing only an instance of an Application of your project. So, the question is: Is there any way to get MotionEvent object (to get X and Y of users touch) using only an Application instance?

NOTE: Library should work with an API level older than 8, so using Application.ActivityLifecycleCallbacks is not possible.

Any help would be great! :)

Demigod
  • 5,073
  • 3
  • 31
  • 49

0 Answers0