[url]http://www.cnblogs.com/gzggyy/archive/2012/10/30/2746718.html[/url]
Intent i = getBaseContext().getPackageManager()
.getLaunchIntentForPackage(getBaseContext().getPackageName());
i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(i);