Could you be a little more specific on how to register the
motionListeners ?
I declare the gesture detector at the top of my program like so:
private GestureDetector gestureScanner;
and just before loading the layout that uses motion detectors i have
this: gestureScanner = new GestureDetector(this);
I define what must be done for a single tap like so:
@Override
public boolean onSingleTapUp(MotionEvent e)
{
// do something
}
Thanks for the help.
On 7 sep, 19:29, Isuru danagalle <[email protected]> wrote:
> Register your motionListeners with layouts.You can use layout id in the
> layout.xml file
>
> Thanks
> Isuru
>
> On Mon, Sep 7, 2009 at 10:42 PM, andr0id <[email protected]> wrote:
>
> > Please help me.
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---