So I want that when an activity is started ex:myactivity, it should get the names of all the applications that are launcher activities(ex:apex, nova,etc.) and list them. Is there any way to do that? I wan that my app should search for this and show a list of apps that can be set as default home launchers just like default app manager does.
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
Default App Manager
Nova Launcher
Now how do I make it so that when a button is clicked the setting activity for the current default launcher is opened? We can do that in Default App Manager so I know its possible but I am unable to get to it.