Androd calling intent function
<p><em>In this sample code StartActivity is giving error, if i use this in another class with extends Activity it doies not. Is there anyway i can call Intent in the class given below ??</em></p>

<pre><code>public class animation extends View{
......................................................
 Intent openStartingPoint = new Intent("com.mypackage.na.SELECT");
 startActivity(openStartingPoint); 
}
</code></pre>
