I've read a lot of question about how to set a launcher application as the default one.
I want to accomplish the opposite, assuming I have a launcher application, and that it has been set to default by the user, is there a way to clear my application from been the default one, without uninstalling the application?
You can use public abstract void clearPackagePreferredActivities
from PackageManager
use:
PackageManager pm = getPackageManager();
pm.clearPackagePreferredActivities("your.package.name");
You can only clear the packages assigned to your application.