How to fire intent if i have only target activity object
<p>I have an object of activity i.e. my target activity and i want to fire intent to that activity.I tried with application context but it is not working.</p>

<pre><code>             Activity act=primaryActivityContextList.peek();
            Intent intent =new Intent(act.getApplicationContext,act.getClass());
                intent.setFlags(Intent.FLAG_ACTIVITY_PRIMARY_DISPLAY);
                primaryActivityContextList.peek().startActivity(intent);
</code></pre>
