title: how to present a toast when a widget is clicked?
body: <p>I need to do a simple widget that presents a Toast when clicking on it.
  My problem is that I cant find how to get or create an "oncreate" action. i see the examples with the pending intent that opens the web browser. But how do i simply create this: <code>Toast.makeText(context, "activated", Toast.LENGTH_LONG).show();</code> and make it happen every time a user clicks on the widget?
  just to be clear, I mean a widget on the launcher of the phone. not a regular "button" widget etc...</p>
  
  <pre><code>public class Widget extends AppWidgetProvider {
  NotificationManager mNotificationManager;
  Notification notification;
  
  @Override
  public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
      super.onUpdate(context, appWidgetManager, appWidgetIds);
  
  
  
      appWidgetManager.updateAppWidget(appWidgetIds, view);
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Thanks!</p>