Android launcher press home in launcher to go to default screen
问题 In the default android launcher, pressing home while in another activity will start the launcher. Pressing home again while in the launcher will reset to the default home screen page. I don't understand how this can be done. Android sends the same intent whether the launcher is in the foreground or not. Home key also cannot be intercepted by user apps. Is there a way to achieve this? 回答1: Android sends the same intent whether the launcher is in the foreground or not. Correct. Home key also