Re: [android-developers] Re: resizing the touch event generating area

2011-04-08 Thread Dianne Hackborn
Well sure if the device you are on can only recognize N fingers and the user has N+1 fingers, you aren't going to get a happy result. I'm not sure this is even worth thinking about. It's a limitation of that device, the user is going to live with this in every single part of the UI of that device

Re: [android-developers] Re: resizing the touch event generating area

2011-04-07 Thread andre
Thank you for your response, Dianne. I may need to verify this once again but it seemed to me (with the left hand on the screen and doing the actual signing with my right hand) that events in the "ignore area" already triggered the maximum number of multitouch pointers on this device (galaxy ta

Re: [android-developers] Re: resizing the touch event generating area

2011-04-07 Thread Joao Braga
Why can't you put a method to be executed when the user touched or leaves the screen in order to get the X and Y and verify if it happend inside the area of interest for you ? if not, you just ignore it. public boolean onTouch(View v, MotionEvent event) { if (yourRectObject.verify (event

Re: [android-developers] Re: resizing the touch event generating area

2011-04-07 Thread Dianne Hackborn
On Thu, Apr 7, 2011 at 12:12 PM, andre wrote: > the problem is that if a user accidentally has his/her hand on the bottom > half of the screen (i know it sounds silly, but it is quite often the case > with this application), it seems we can't receive any ACTION_DOWN of > interest since since all

[android-developers] Re: resizing the touch event generating area

2011-04-07 Thread lbendlin
are you using the multitouch version of the event handler? -- 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-devel

[android-developers] Re: resizing the touch event generating area

2011-04-07 Thread andre
the problem is that if a user accidentally has his/her hand on the bottom half of the screen (i know it sounds silly, but it is quite often the case with this application), it seems we can't receive any ACTION_DOWN of interest since since all action pointers are consumed with events caused in t

[android-developers] Re: resizing the touch event generating area

2011-04-07 Thread lbendlin
what's wrong with monitoring the events and throwing the ones in the "ignore" area away? -- 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 grou