Open URL in Android App?
<p>I use the following to open a url from my app:</p>

<pre><code>String url = "http://www.example.com";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
</code></pre>

<p>But when I test it in the simulator, it goes back to eclipse and states source not found.</p>

<p>Whats going wrong?</p>
