I wanted to list all the browser package names from android device
Like (chrome, Mozilla and UC browser )
Is there any generalized adb command ?
Depends on your definition of a browser
. If it is an app with registered intent filters in the android.intent.category.APP_BROWSER
category - you can get the list with the following adb shell
command:
for P in $(pm list packages); do test -n "$(dumpsys package ${P#package:} | grep APP_BROWSER)" && echo ${P#package:}; done
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With