Intent mStartActivity = getBaseContext().getPackageManager()
.getLaunchIntentForPackage( getBaseContext().getPackageName() );
int
mPendingIntentId = 123456;
PendingIntent mPendingIntent =
PendingIntent.getActivity(mContext, mPendingIntentId, mStartActivity,
PendingIntent.FLAG\_CANCEL\_CURRENT);
AlarmManager mgr =
(AlarmManager)mContext.getSystemService(Context.ALARM\_SERVICE);
mgr.set(AlarmManager.RTC, System.currentTimeMillis() + 100,
mPendingIntent);
finish();
System.exit(0);