Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 331 Bytes

25-go-home-screen-android-2.md

File metadata and controls

13 lines (12 loc) · 331 Bytes

Title: Go Home Screen Android Date: 2016-01-29T06:42:23+00:00 Description: Tags: Android

Go Home Screen Android

		Intent startMain = new Intent(Intent.ACTION_MAIN);
        startMain.addCategory(Intent.CATEGORY_HOME);
        startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        startActivity(startMain);