No buried data collection and adb monkey test masking notification bar

Source: Internet
Author: User

Simple record Baidu Mobile statistics Android non-embedding SDK use and Monkey test mask notification bar issues

1. No embedded point SDK use

Very simple, after downloading the SDK to import into the project, refer to the SDK documentation to do it, the personal feel than friends of the alliance is also simple, a few lines of code to achieve the non-buried point visualization circle.

Here is the document address Visualization Circle SDK Access

It is important to note that from compile the project and start running ,5 minutes or so after the Baidu Mobile statistics site to see the corresponding start data!

2.ADB Monkey test Screen notification bar

After the Windows system has configured the ADB environment, open the CMD window, enter the adb Shell monkey-p App package name-v clicks >./desktop/log.txt

When monkey is running, you will find that the notification bar is pulled down, the network is shut down, or other operations that cause the app to be tested normally, it's disgusting.

Go to StackOverflow to find an effective solution, now share to everyone

Simple translation:

First step, go to Settings-security and privacy-the screen is fixed and the screen is fixed. The specific method may vary depending on the model, the Glory V9 is this

    

In the second step, select your app's page and pin the screen.

The third step, the cmd window, runs the Monkey Test command. The test end log will be written in the log.txt of the desktop.


Finally, put a picture to see the harvest

No buried data collection and adb monkey test masking notification bar

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.