Example for Injecting MotionEvents

Put your problem here if it does not fit any of the other categories.

Example for Injecting MotionEvents

Postby swap.kamble » Sun Jan 24, 2010 6:21 pm

Does anybody know how to use injectMotionEvents ? Can someone give Example for Injecting MotionEvents ? I am not able to understand what is use of ACTION_UP etc. I want to perform mouse movements and clicks programmatically.
swap.kamble
Junior Developer
Junior Developer
 
Posts: 12
Joined: Fri Aug 07, 2009 5:57 am

Top

Postby swap.kamble » Mon Jan 25, 2010 6:34 am

I am always getting exception INJECT_EVENT permission denied eventhough I have added it in AndroidManifest
swap.kamble
Junior Developer
Junior Developer
 
Posts: 12
Joined: Fri Aug 07, 2009 5:57 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests