This article draws a window according to the previous analysis and implements it with the pure native API. The native API here is not ndk, but a native layer function, which needs to be implemented in the AOSP compilation environment.
First, create the drawWindowTest test directory in the / frameworks/n ...
Posted on Mon, 15 Jun 2020 01:58:37 -0400 by akumakeenta
Anbox source code analysis (3)
In the previous article, we introduced the principle of Anbox video rendering. In this article, we started from the source code to have a deeper understanding of the mechanism and principle of Anbox and rendering
session manager entry
The entry function of session mana ...
Posted on Tue, 09 Jun 2020 03:27:28 -0400 by ScratchyAnt
Principle analysis of infrared remote control
Remote control: the wavelength crystal oscillator with NEC code of 960nm is 455KHZ, and the corresponding transmission frequency (carrier frequency) is 38KHZ,
The remote ID is 0 (i.e. system identification code), and the inverse code is 255. Different ...
Posted on Sat, 06 Jun 2020 04:41:21 -0400 by redrabbit
The previous section describes the basic concept of stack. This article will talk about how stack works.RT-Thread is so popular in the community that it reads its kernel code, manages the heap, and has clear code design and readability.Therefore, on the one hand, you can understand the RT-Thread kernel implementation, and on the other hand, you ...
Polymorphism is a very difficult concept to understand in Java, but it is also a very important concept. One of the three major features of Java (encapsulation, inheritance, polymorphism) is literally a type of multiple states. Let's explain what polymorphism is again through the example of selling a car, in which the interface is used.
Code in ...
In the last part, the production process of buffer is analyzed, and this paper focuses on the consumption process of buffer. In this process, several problems need to be clarified:
1. Who is the consumer?
2. How can consumers get buffer display from BufferQueue?
3. How to release the buffer after it is displayed?
1. Co ...
Posted on Fri, 20 Mar 2020 14:42:46 -0400 by subodh_dg
1. Install masm32
Download on the official website: http://www.masm32.com/
2. Download Irvine32.inc and Irvine32.lib
https://cloud.189.cn/t/QzArYnN7J7Jf or https://download.csdn.net/download/wxwpxh/12249620 After unzipping, there is a 12M Irvine.zip file, and then unzip the library you need.
Or you can download it directly here masm32.7z ( ...
Posted on Sat, 14 Mar 2020 13:18:03 -0400 by alanlee79
Today, an android system is stuck when switching between horizontal and vertical screens. It can only turn around in about 3 seconds. Finally, it is pointed out that the function of the ScreenRotationAnimation class is called
Posted on Wed, 11 Mar 2020 03:30:01 -0400 by R0bb0b
lua5.3 cross compile to Android
Tip: if you just want to use Lua on the terminal, you can try termux, or only want to get the executable file of lua, or you can install termux. You can find the executable file of lua directly in ~ /.. / usr/bin directory (provided you have installed it)
Posted on Sun, 01 Mar 2020 23:11:46 -0500 by evo4ever
C Language Programming
Or use wiringPI to call GPIO of raspberry pie, use softPwmCreate() and softPwmWrite() in PWM function, and combine the function of discoloration to change color.softPwmCreate: This function will create a software-controlled PWM pin.Any GPIO pin can be use ...
Posted on Fri, 28 Feb 2020 22:30:19 -0500 by endersix