Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use adb to change the default launcher program?

Tags:

android

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?

like image 773
Mohammed Subhi Sheikh Quroush Avatar asked Feb 11 '13 16:02

Mohammed Subhi Sheikh Quroush


1 Answers

adb shell cmd package set-home-activity "package/activity"

adb reboot

like image 123
dljava Avatar answered Oct 05 '22 07:10

dljava