Sunday, August 21, 2011

[android-developers] Re: x and y

On Aug 21, 8:25 am, bob <b...@coolgroups.com> wrote:
> I'm developing for 2.1, so that won't work?
>
> On Aug 20, 8:45 pm, Kristopher Micinski <krismicin...@gmail.com>
> wrote:
>
>
>
> >http://developer.android.com/reference/android/view/MotionEvent.html
>
> > public boolean onGenericMotionEvent (MotionEvent event)
>
> > Since: API Level 12
>
> > (From View.)
>
> > Kris
>
> > On Sat, Aug 20, 2011 at 2:22 PM, bob <b...@coolgroups.com> wrote:
> > > Let's say you have an image, and you want to know the x and y of the
> > > user's click.  Anyone know what widget to use?
>
> > > --
> > > 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+unsubscribe@googlegroups.com
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en

Use View.setOnTouchListener()

pskink

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment