I am trying to get the following code to execute:
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_HOME);
intent.setComponent(new ComponentName(" **Home package** "," **Home class** "));
startActivity(intent);
Essentially I am looking for a way to specifically target and load the exact, original, home application.
EDIT: SOLUTION:
Where findLaucherApp() turns the List into an array of strings and interrogates each one to see if it contains “com.android.launcher2” and then returns its id.