eclipse - Figure out what Activity is currently active in Android (non-programmatically) -


a lot of time when i'm debugging app, click around , end in activity, i'm not 100% sure one. happens in latest project, inherited else.

i want easy method of figuring out activity i'm in, not programmatically program know, brain. see activitymanager "displayed activity foo" in logcat, message goes away because of other logging.

ideally, current activity class displayed somewhere @ times, or there similar firebug's inspect button activities. looked around ddms perspective , didn't find there either.

any ideas?

the hierarchyviewer fine this, perhaps bit heavy duty.

try command line:

adb logcat |grep "starting activity" 

every time start new activity there line printed.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -