Find the activity name for the Android app interface

Source: Internet
Author: User

Use the Dumpsys tool to view activity-related information

ADB shell Dumpsys activity > 1.log//Save relevant information to 1.log

ADB Shell Dumpsys Activity | grep "Running Activities"-A 7//-a 7 indicates that matching rows and 7 rows of data are displayed

View Help: adb shell Dumpsys activity-h

The first one is the activity name of the current interface. ↓↓↓↓↓↓↓↓

Dumpsys There are other parameters

Reference:

1, http://riusksk.blogbus.com/logs/272125296.html

2, http://www.cnblogs.com/qianxudetianxia/archive/2012/05/14/2497073.html

Find the activity name for the Android app interface

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.