[android-developers] Re: Touch events to the Android OS

2012-12-16 Thread Karunakaran Vikash
we can generate by Instrumentation concept.. But that too can be used ly for controlling ur own application. because android didnt give support to control the Home screen or other system applications... "Injec_Event_permission" error will occur when u control system applications... O

[android-developers] Re: Touch Events in Surface View

2010-07-09 Thread Joris
I had the same problem until recently. I'm new to android and not sure whether this is the optimal way of solving it, but it's simple and allows you to manage the sensitivity of the click. @Override public boolean onTouchEvent(MotionEvent event) { if(event.getAction() == Motion

[android-developers] Re: Touch events

2010-06-04 Thread rahul
Hi i was able to see that the events goes in the WindowManagerService.java, Can you please let me know where exactly (which method is used to cancel the events) it is done. Thanks and Regards, Rahul On May 26, 9:55 pm, john wang wrote: > in WindowManagerService.java > > 2010/5/26 rahul > > > > >