Android Redirect from Java Class to Android Activity
<p>I wanna to redirect to the Android Activity from java class..</p>

<p>here my code</p>

<pre><code>class A {
    getContext().startActivity(
                        new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")));

}
</code></pre>

<p>from the code,it's redirected to webview instead i need it to redirect it into Android Activity something like this..</p>

<pre><code>getContext().startActivity(
                        new Intent(A.this,My.class));
</code></pre>
