adb-idea icon indicating copy to clipboard operation
adb-idea copied to clipboard

New feature: Get active activity name

Open ignaciogs opened this issue 7 years ago • 1 comments

Hi, iI think that is feature is very interesting and with this command you can get the active activity name on the screen.

adb shell dumpsys activity activities | grep mFocusedActivity | cut -d ' ' -f 6 | grep -o '[^.]*$'

Thanks by this plugin, it's great.

ignaciogs avatar Sep 13 '17 10:09 ignaciogs

I disagree, since this command is never changing you can just use your terminal for it. Imo ADB-Idea always works with the current app and operates on this context. Don't get me wrong, it's a good idea and I didn't know it exists but I just think it isn't a good fit into the plugin.

EarlOfEgo avatar Sep 13 '17 12:09 EarlOfEgo