android - aapt dump badging on adb shell -


i'm trying list of apps , launchable activities command line. know that

aapt dump badging 

will give me information. i'm wondering if can information within context of adb shell. realize pull files local machine, of apks rather large, i'd prefer information directly device...

adb shell dumpsys give ton of information, including launchable activities. example, output list activities react action android.intent.action.main:

  android.intent.action.main:     423fff90 com.android.bluetooth/.bpp.bluetoothbppactivity filter 42400218     424003d0 com.android.bluetooth/.bpp.bluetoothbppsetting filter 42400608     42400758 com.android.bluetooth/.bpp.bluetoothbppprintprefactivity filter 424009b8     42400b08 com.android.bluetooth/.bpp.bluetoothbppstatusactivity filter 42400d60     42400f10 com.android.bluetooth/.bpp.bluetoothbppauthactivity filter 42401158     42408bb8 com.google.android.apps.books/.app.booksactivity filter 42408e88     42414f50 com.android.providers.calendar/.calendarcontentprovidertests filter 42415270     42415a38 com.android.providers.calendar/.calendardebug filter 42415c28     42415df0 com.android.providers.calendar/.calendardebugactivity filter 42416048     ... 

note output huge; might want limit output. can see sub-categories dumpsys knows @ top of output:

currently running services:   surfaceflinger   accessibility   account   activity   alarm   ...   package   ... 

in case you're interested in output of adb shell dumpsys package.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -