[android-developers] Re: how can i check left and right motion in onTouchEvent?

2009-07-07 Thread zeeshan
i tried on both, ActionMove triggers twice and ACTION_DOWN doesn't trigger at all On Jul 7, 12:23 pm, Suhas wrote: > hi > r u working on actual device or emulator ? > on emulator if u key ur pointer at one place then it will trigger once or > twice only but on actual g1 it will be in touch event

[android-developers] Re: how can i check left and right motion in onTouchEvent?

2009-07-07 Thread Suhas
hi r u working on actual device or emulator ? on emulator if u key ur pointer at one place then it will trigger once or twice only but on actual g1 it will be in touch event move action On Tue, Jul 7, 2009 at 4:06 PM, zeeshan wrote: > > i changed it to true but it doesn't seem to have any effect

[android-developers] Re: how can i check left and right motion in onTouchEvent?

2009-07-07 Thread zeeshan
i changed it to true but it doesn't seem to have any effect. everytime only MotionEvent.ACTION_MOVE fired twice and left , right logic doesn't work properly. i am following this link http://osdir.com/ml/AndroidDevelopers/2009-01/msg00639.html On Jul 7, 11:27 am, Suhas wrote: > Hi > I think u s

[android-developers] Re: how can i check left and right motion in onTouchEvent?

2009-07-07 Thread Saurav Mukherjee
try using GestureDetector... u get functions like onScroll which shud make ur work easier. On Tue, Jul 7, 2009 at 3:57 PM, Suhas wrote: > Hi > I think u should return true and not false in ontouchevent > > > On Tue, Jul 7, 2009 at 3:51 PM, zeeshan wrote: > >> >> Hi dear, >> >> i need left, ri

[android-developers] Re: how can i check left and right motion in onTouchEvent?

2009-07-07 Thread Suhas
Hi I think u should return true and not false in ontouchevent On Tue, Jul 7, 2009 at 3:51 PM, zeeshan wrote: > > Hi dear, > > i need left, right motion event and a click event . > problem is that, if i have onclickEvent then onTouchEvent doesn't > fire. > onTouchEvent works only if i disable on