How to bring application to front quickly by a customed widget on homepage?
<pre><code>                Intent intent = getPackageManager().getLaunchIntentForPackage(
                    "com.*****.g3android");
             intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
            intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
                    | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
            startActivity(intent);
</code></pre>

<p>My problem is that when i click home button, application restart but only after 3-4 seconds.. but click launcher icon to start myapp is very fast. How can i fix? Thanks!
b</p>
