ACTION_MAIN
with
category CATEGORY_HOME
--
Launch the home screen.
Intent intent = new Intent(Intent.ACTION_MAIN); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.addCategory(Intent.CATEGORY_HOME); mContext.startActivity(intent);
ACTION_MAIN
with
category CATEGORY_HOME
--
Launch the home screen.
Intent intent = new Intent(Intent.ACTION_MAIN); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.addCategory(Intent.CATEGORY_HOME); mContext.startActivity(intent);