android

Can I use adb to change the default launcher program?


I set one of the program as default launcher program and default setting program so I cannot change the default programs now, can I change the default programs from android-sdk\android-sdk\platform-tools\adb.exe or remote shell.

How can I do that?

And can I remove the defaults of program in Java code?


Solution

  • you can remove (Uninstall) the default program you set using ADB by doing this :

    adb uninstall app.package  ..... //for example (com.example.homeapp)
    

    If you don't want to remove the app .. here is a quick hack to do it:

    That way you will have a picker with all apps on your devices that listens to Main Action