Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Listening to gestures on an App widget

I have created an app widget in Android and want to add some gesture-based functionality to it. For e.g: when user swipes up new set of data be displayed. AFAIK, gestures are not supported in AppWidgets and yet I have seen widgets which have similar functionality(e.g. HTC widgets photo album and weather widget).

Please help me out and let men know if I am missing something.

Link to tutorials, documentation or sample code are appreciated.

Thanks.

like image 824
Samuh Avatar asked Oct 13 '22 23:10

Samuh


1 Answers

You cannot respond to gestures in app widgets, sorry. The only interactions presently supported are simple click events.

like image 167
CommonsWare Avatar answered Oct 18 '22 22:10

CommonsWare