Using WindowManager to add View -- the basic principle of floating window
Although there are many types of "windows" in Android system, only two types are often used: one is managed by system process, which is called "system window"; the other is generated by application program, which is used to display UI interface. If you are familiar with window manager service (WMS), everything is very simple ...
Posted by c0le on Sat, 30 May 2020 02:18:58 +0200
Audio and Video: Draw pictures in three ways
Because video rendering is essentially about displaying pictures one by one, the first step in learning is to learn to display pictures.
This time we use three different ways to display a picture.
ImageView
ImageView is the easiest and most common way to use it.
context?.let {
image.setImageBi ...
Posted by raister on Sat, 25 Jan 2020 04:16:49 +0100
(Reprint) Android camera development: efficient real-time processing of preview frame data
Summary
In this article, we will not introduce the new functions of Camera APP, but how to process the Camera preview frame data. Presumably most people don't need to deal with preview frames, because cameras only need to be used for taking photos and recording. In fact, this article doesn't have much connection with general Camera development ...
Posted by domainbanshee on Thu, 14 Nov 2019 13:58:35 +0100
Vertical direction, scroll one page at a time encapsulation library.
Links to the original text: https://p.codekk.com/detail/Android/yangchong211/YCScrollPager
YCScrollPager
Project address: yangchong211/YCScrollPagerÂ
Introduction: Vertical direction, scroll one page at a time encapsulation library. Th ...
Posted by glennn.php on Wed, 11 Sep 2019 10:55:13 +0200
Android OpenGL ES2.0 (1) - Drawing Static Shapes
quick get start
Key Classes
GLSurfaceView
Carriers drawn
TextureView is available for small areas
SurfaceView can theoretically be used
GLSurfaceView.Renderer
Essential Drawing Action
Keying a GLSurfaceView object
class MyGLSurfaceView extends GLSurfaceView {
public MyGLSurfaceView(Context context){
super(context);
...
Posted by vivianp79 on Sat, 06 Jul 2019 18:48:46 +0200
Camera Use - Implement Simple Custom Cameras
This article summarizes the implementation of custom cameras using the Camera API
Previous articles Detailed description of Android Photo Function This paper introduces the camera application of the call system to complete the photography function.
But many times, applications need to customize the camera photo function. After Android 5. ...
Posted by hyster on Sat, 25 May 2019 23:20:57 +0200