randunit, a single test generator for android/jvm
backgroundWith continuous delivery becoming more and more popular today, single test, as an important part of ensuring CI quality, has also begun to be valued in China.However, on the single test, everyone's attitude is quite contradictory. There are two main things to worry about:I don't know where to start the first step from 0 to 1What if yo ...
Added by my800stuff on Fri, 21 Jan 2022 03:10:21 +0200
Detailed usage process of Low Power Bluetooth Ble
summary
Central and peripheral roles There are two roles in ble, one is Central and the other is Peripheral. Bluetooth devices or mobile phones can be used as Central or Peripheral roles alone. The function of the Peripheral role is to provide various data for the Central role. The Central role can scan and receive multiple Peripheral role dat ...
Added by mol on Thu, 20 Jan 2022 23:06:41 +0200
37. TabBarView component of fluent
TabBarView is a Tab layout component provided in the Material component library. It is usually used with TabBar.
TabBarView
TabBarView encapsulates PageView, and its construction method is very simple
TabBarView({
Key? key,
required this.children, // tab page
this.controller, // TabController
this.physics,
this.dragStartBehavior ...
Added by phice on Thu, 20 Jan 2022 17:49:49 +0200
Service of the four components of the Android APP Complete Basic Tutorial (06)
1 Diagram Interpreting Service
Here is a diagram of life cycle: basic concepts & interpretation of critical callback methods
2. Interpretation of Service Class Relationships
The inheritance diagram for the parent and child classes of the Service class is as follows:
3 Configure Service
Both Service and Active are android system com ...
Added by Wabin on Wed, 19 Jan 2022 19:17:19 +0200
android_ Foundation_ Get system application information
Reprinted from: https://blog.csdn.net/spinchao/article/details/92778861
1,demo
Sometimes, when we need to obtain the application of the system, such as the Home interface, we need to obtain the information of all applications registered in the Manifest, display the icons and names of these applications, and obtain their action or CompanentN ...
Added by jeeva on Wed, 19 Jan 2022 19:02:18 +0200
Android custom viewGroup realizes the second floor of Taobao and handles multi finger touch events
preface Strolling around Taobao without doing anything, I found that there was a second floor of Taobao on the home page. As shown below: The UI effect is very interesting, so I plan to roll one by hand. thinking The ScrollView is the first thing that comes to mind when scrolling the view, and then handle his gesture sliding event to dynami ...
Added by kam_uoc on Wed, 19 Jan 2022 18:16:17 +0200
Solution to quickly read specific information from Android live app source code
In order to quickly read specific information, display or verify it in the source code of cloudleopard live app, the most popular solution is to "scan QR code". In this way, users do not need to use complex memory and logic. They can realize the requirements with a gentle sweep. It is very common in all kinds of apps.
So today, let's ...
Added by PHPFreaksMaster on Wed, 19 Jan 2022 12:02:34 +0200
Android unit test - > knowledge sorting and sharing
Android unit test
Unit test?
What?
Test code written to test a code unit in the project; It is used to execute the objective function in the project and verify its logical state or result. These codes are white box tests, which can detect the accuracy and reliability of the target code. When packaged, the code of unit test will not be c ...
Added by vincente on Wed, 19 Jan 2022 04:20:22 +0200
Fundamentals of mobile application design -- final examination -- comprehensive practice of login interface and simple diary
Final report of fundamentals of mobile application design
Project Name:
On machine assessment of mobile application development foundation
Tools, software and environment used:
JDK,Android Studio
1, Subject background
In the final computer examination, the contents of Experiment 4 and Experiment 5 and the small experiments completed ...
Added by tomkleijkers on Tue, 18 Jan 2022 21:37:49 +0200
Jetpack - defects of LiveData component and Countermeasures
1, ForewordIn order to solve the problem of chaotic architecture design since the development of android app, Google launched the family bucket solution of jetpack MVVM. As the core of the whole solution, LiveData, with its life cycle security, memory security and other advantages, even has the trend to gradually replace EventBus and RxJava as ...
Added by Sakujou on Tue, 18 Jan 2022 19:35:11 +0200