title: Android widget onClick isn't working
body: <p>I honestly have no idea what I'm doing wrong here. I had this working last night, I messed with the code and I'm pretty sure I have it back to where it was yet it simply doesn't do anything when clicked.</p>
  
  <p>Here is my code</p>
  
  <pre><code>    public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
      Log.d(LOG_TAG, "onUpdate(): ");
  
      for (int appWidgetId : appWidgetIds) {
  
  
      Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse("market://details?id=com.xx.xx"));
      PendingIntent pendingIntent = PendingIntent.getActivity(context, appWidgetId, intent, PendingIntent.FLAG_UPDATE_CURRENT );
  
  
      RemoteViews remoteView = new RemoteViews(context.getPackageName(), R.layout.widget);
      remoteView.setOnClickPendingIntent(R.id.image, pendingIntent);
  
      }        
      super.onUpdate(context, appWidgetManager, appWidgetIds);
  </code></pre>
  
  <p>I'm simply trying to take the user to the market when the widget is clicked but nothing at all happens.</p>
  
  <p>Is this a simple fix?</p>