Problem when click to HTML links inside a ListView?
<p>i used the code below for my listview and textview .</p>

<p>Code:</p>

<pre><code>textcontent.setText(Html.fromHtml(item.get_text()));
textcontent.setAutoLinkMask(Linkify.WEB_URLS);
</code></pre>

<p>XML:</p>

<pre><code>&lt;TextView
                android:id="@+id/txtview"
                android:autoLink="web"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:text="put your link here"/&gt;
</code></pre>

<p>the link looks like url and i can click it but it generate this exception </p>

<blockquote>
  <p>android.util.AndroidRuntimeException:
  Calling startActivity() from outside
  of an Activity context requires the
  FLAG_ACTIVITY_NEW_TASK flag.</p>
</blockquote>

<p>any idea how to solve this problem ? </p>
