views:

48

answers:

1

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.

+1  A: 

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

CommonsWare
Hi Mark! Thanks for your reply. Any guesses on how HTC photo album widget and weather widget handle gestures?
Samuh
@Samuh: Simple. They're not app widgets. They are part of the home screen application, merely advertised as and configured like app widgets.
CommonsWare
Games that people play! :)Have a nice day!
Samuh