call another activity in class that did not extend Activity class
<p>Hi all i have a class name </p>

<pre><code>public class WikipediaDataSource extends NetworkDataSource{.....}
</code></pre>

<p>which extend to NetworkDataSource. what im try to do is from this class i would like to call new activity...</p>

<pre><code>Intent i = new Intent(context, Obj3DView.class);
startActivity(i);
</code></pre>

<p>i got error saying </p>

<pre><code>the method of startActivity(intent) is undefined for the type WikipediaDataSource 
</code></pre>

<p>i read a lot on this issue .. it happens because this class do not extend the activity clas.</p>

<p>i try to follow others solutions. but it does not work for my case. </p>

<p>Please help! :) </p>
