Python+scrcpy+pyminitouch realize automation -- realize touch

This problem occurred the last time pyminitouch was used: AssertionError: minitouch did not work. After that, I began to work hard to solve this problem and searched the Internet for the use of minitouch. In the last article, I have pushed minitouch to my mobile phone. Articles on minitouch tools: minitouch tool of STF framework &middot ...

Added by stretchy on Thu, 10 Mar 2022 15:46:13 +0200

android statistics application traffic NetworkStatsManager

1. Application statistical effect 2. Introduce the API NetworkStatsManager launched after Android official 6.0: 3. Statistical query method (UID, single application, all applications) 4. Pits found in the statistical process and Solutions 5. Comparison between statistical results and system statistics 1. Application statistical effect No more ...

Added by ghost007 on Thu, 10 Mar 2022 13:03:59 +0200

The static model is one click dynamic, which teaches you how to integrate motion capture ability

How is the interesting static model dynamic?Huawei 3D modeling service (3D Modeling Kit) has the ability of motion capture. Using human body detection technology, model acceleration and compression technology and monocular attitude estimation algorithm based on deep learning, it can capture the three-dimensional information of 24 bone key point ...

Added by NoFear on Thu, 10 Mar 2022 09:45:34 +0200

DrawerLayout and NavigationView of Material Design practice

I DrawerLayout DrawerLayout is a sliding menu. DrawerLayout is a layout that allows you to put in two direct sub controls. The first sub control is what is displayed on the main screen and the second sub control is what is displayed in the sliding menu. ① So we can in the xml file of MainActivity <?xml version="1.0" encoding="utf-8"?> ...

Added by eightonesix on Wed, 09 Mar 2022 13:15:11 +0200

Full compilation of ijkplayer for Mac to generate Android Library

ijkplayer compilation GitHub address: https://github.com/Bilibili/ijkplayer Recently, I did a new training and talked about the compilation process. I found that many people can't pull the code and compile it. I use a new computer to sort out the pits that will be encountered in a new environment. Here, I simply record the complete content an ...

Added by adige72 on Wed, 09 Mar 2022 11:56:04 +0200

Android jetpack component - Room

What is Room? Room is a framework library covering SQLite abstraction layer specially provided by Google to simplify old-fashioned SQLite operations Room is also an ORM framework. It provides an abstraction layer on SQLite, shields some underlying details, and uses objects to operate the database. CRUD is as simple as calling methods with obje ...

Added by BobcatM on Wed, 09 Mar 2022 11:08:16 +0200

AOP knowledge for Android engineers

Author: sloth is not lazy If you have been exposed to Java background development, you must have heard the concept of AOP. What is it and what is its use for our Android development? This blog explores the familiar and unfamiliar concept of AOP from the perspective of Android Engineers: What is AOP AOP is the acronym of Aspect Oriented P ...

Added by SerpentSword on Wed, 09 Mar 2022 08:20:54 +0200

Android App startup

In recent projects, the function of startup and self startup is useful. Here is a summary for everyone to learn and discuss! Actual combat drill Test mobile phone: Hongmi mobile phone Redmi 6A Android version 9 Huawei mobile phone DUA-AL00 Android version 8.1.0 Xiaomi tablet MI PAD 4 Android version 8.1.0 The above models have been tested ...

Added by sherrilljjj on Wed, 09 Mar 2022 05:29:31 +0200

Resolve the response body(). String() cannot read multiple times

Project scenario: Recently, the requirement of the project is to obtain a new token if the token fails when requesting the interface, and finally use the new token to request the original requested interface. So here we will use the response Interceptor, which is used in my project EasyHttp , is the encapsulation of okhttp. You can have a look ...

Added by ralphuk100 on Wed, 09 Mar 2022 05:28:36 +0200

Stop asking for WiFi password. HMS Core unified code scanning service enables mobile phones to connect to the Internet with one click

Modern life is inseparable from the Internet. In restaurants, shopping malls and other public places, mobile phone WiFi connection has always been a high-frequency use scenario. Although there are more and more free WiFi in public places, the process of network connection is very troublesome. Some need to open the web page to register or click ...

Added by evilcoder on Wed, 09 Mar 2022 04:27:15 +0200