copy current activity path to clipboard
Closed this issue · 4 comments
eg: com.demo.MainActivity
It is feasible from my view, and actually I used to experiment on it a bit.
Do you have a desired command to dump the info? I'm thinking of
adb shell dumpsys activity activities | grep 'Hist #' | grep com.demo
Please check ver. 1.4, in which I added Dump task stacks
It uses the following command
adb shell dumpsys activity activities | grep 'Hist \|taskAffinity='
It presents the list of current task and back stacks
Use cmd
+ Dump task stacks
will only list the top application.
Use alt
+ Dump task stacks
will only list the top stack.
Use cmd
+ c
on highlighted item to copy the activity path to clipboard.
Please check if this is the expected result
Perfect, thanks, it useful for me.
If i press enter key, can i copy the activity path to clipboard?
Yes, added copy output to clipboard in ver. 1.4.3.
Plus a config field config_clipboard
to toggle it.
Default value is 1
, changing it to others will disable this function.