Opening a browser link through notification isn't working
<p>Greetings gents,</p>

<p>My problem is the following:</p>

<p>I'm posting a notification to the notifications bar, and i've put a URI link in the intent being sent with it. As soon as i click on the notification i get a dialog what i want to do, but it's showing rubbish like Application info, Barcode scanner, Call dialog. instead of Browser.</p>

<p>I present my code:</p>

<pre><code>      Intent notificationIntent = new Intent(Intent.ACTION_VIEW);

      PendingIntent contentIntent = PendingIntent.getActivity(contexta, 0, notificationIntent, 0);
      notificationIntent.setData(Uri.parse("http://www.google.com"));
      notification.setLatestEventInfo(contexta, contentTitle, contentText, contentIntent);
      mNotificationManager.notify(970970, notification);
</code></pre>

<p>So i'm probably not thinking in the right direction.
Should i perhaps insert an intent and have a handler in my own application create a new intent for the browser instead?
But that would be strange, why does android not handle my initial intent correctly then.</p>

<p>As always,
Any and all help is greatly appreciated.</p>

<p>Thanks,
Rohan.</p>
