You cannot detect events directly on a widget.  Normally, a click will
fire a PendingIntent attached to the RemoteView.  But with Android
3.0, scrolling and swiping are supported also, but those aren't events
either.

On Dec 19, 5:36 am, Lourens <[email protected]> wrote:
> How can I detect if one swipes up or down over my AppWidget? I used to
> do this inside a normal Activity using OnTouchListener and later with
> the gesture detection stuff. I (think I) have seen this work with an
> HTC photo frame AppWidget on my Hero, but can't figure out how to do
> this myself. Any ideas? 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

Reply via email to