Hi,

I have a use case in which i need to provide a functionality where
applications can decide whether they want to handle the touch events
with size greater than some threshold. I found out that ViewRoot.java
is responsible for dispatching the touch events to the View.java which
will then send it to the intended view. So in handleMessage of
ViewRoot.java before calling the dispatchTouchEvent i check the size
of an event. Using this check applications will not receive the events
in case the size is greater than the threshold.
 
The query which i have is that is there a way through which
applications provide an option and through View.java or ViewRoot.java
we can check if the application wants to handle large touch events or
not and send them to it.



Thanks in advance
Rahul

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to