Googled through the whole Internet and found nothing so I need your help again.
I created an Android widget with android:background
declared in the layout file.
I want to show a toast on click so I did this:
@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager,
int[] appWidgetIds) {
super.onUpdate(context, appWidgetManager, appWidgetIds);
Toast.makeText(context, "Clicked!!", Toast.LENGTH_SHORT).show();
}
And yes, it works, but only in the widget chooser when I choose my widget. How can I show that toast on every click?