Understanding Android Storage System Architecture
This paper mainly introduces the whole process and architecture design of the module Mountservice and vold related to storage. Mountservice:android Binder service, which runs in the System_server process for message communication with Vold, For example, Mountservice sends a command to Vold to mount an SD card, or receives a peripheral hot plug event from Vold. Vold: All called volume Daemon, the native daemon for managing external storage devices, which is a very important daemon, consisting of the 3 parts of Netlinkmanager,volumemanager,commandlistener.
Android Shader Tint Research
Tint this thing is mainly used to reduce the size of the APK, for example, I now have a textview, his background map has two, one is when the focus is shown when the A-graph, the other is the loss of focus when the display of the B-chart. I believe that the development of this demand has been done many times, we will generally find that the A and B charts in addition to the color, the others are the same, but when we do, usually look for the UI to two pictures. If you want to adapt to the resolution, it is likely that the picture will be more, and when switching, because it is reloaded once bitmap efficiency will also fall a lot. So Google gave a solution to this is the tint. His goal is that when you find this need, just put a picture in the APK, when you need to change the color of the background map with tint!
Pathmeasure Trail
Path, whether in custom view or animation, occupies a pivotal position. Drawing path, through the API provided by Android, or Bezier curves, mathematical functions, graphic combinations, and so on, to get the coordinates of each constituent point on path, you generally need to know the function method of path, such as the de Casteljau algorithm to solve the point on the Bezier curve, But for the general path, it is difficult to calculate by a simple function method, then, how to locate any one of the given path of the coordinates of any point?
Photo Tour
Before you start the photo tour, talk about some of the basics of graphics, which are more or less exposed in the process of image processing. 1. Pixel point: The image displayed by the computer is composed of pixel dots, each pixel has RGB three colors, the three colors can be mixed in a certain proportion to get the actual color value. The image size is 640 x 480, which indicates that the picture level has 640 pixels and the vertical has 480 pixels. 2.color depth, bit depth: each pixel RGB if each with 8 bits, bit depth is 8bit, then this pixel is 24 bits, color depth is 24bit. The darker the pixel color depth, the greater the number of pixels expressed by the color and brightness of the pixel, the larger the file.
React Mobile Web Extreme optimization
The advantage of learning react is that after learning it, you can write the Web, node straight out, and native, and adapt to a variety of complex business. Need to be light and fast, directly can use REACTJS, need to improve the first screen time, you can combine React Server Render, need better performance, can be React Native. However, this actually implies that the learning curve is very steep. webpack+ React + Redux alone is enough for a starter, not to mention both straight out and mobile clients. Not the average person can hold all the ends.
Android 7.0 making changes to a trusted certification authority
In Android Nougat (7.0), we changed the way Android handles trusted certification authorities (CAs), providing a more secure system default setting that ensures app traffic security. Most apps and users are not affected by these changes and do not need to take any action. These changes include: 1. A secure and simple API for trusting a custom CA. 2. By default, apps developed for API level 24 and above no longer trust a user or administrator to add a CA to a secure connection. 3. All devices running Android Nougat provide the same set of standardized system CAS without any device-specific custom CA.
The art of developing Bezier curves
In Android, in general, developers only consider quadratic Bezier curves and Sanche Besel curves, and the SDK provides only second-and third-order API calls. For higher-order Bezier curves, it is often possible to split the curve into multiple low-order Bezier curves, known as reduced-order operations. The following code simulates how the second-and third-order Bezier curves are drawn and controlled.
Android Packaging speed up practice
As's code structure is completely different from eclipse, it provides developers with a single-project multi-module form. But it takes more than one module to maintain a module. So if it is not advisable to create a module just for the sake of writing the code, I strongly suggest that the project structure should be sorted out before considering the need to establish a module.
Jadb
ADB Client in pure Java.
Ixjava
Interactive Extensions for Java
Create-react-app
Create React Apps with no build configuration.
Logreport
A crash log upload framework, when the app crashes, save the crash information locally while automatically submitting the crash issue to GitHub, you just need a few sentences to complete all the configuration
Circularanim
Android Water Wave animation help class, a line of code to achieve the view display/hide/startactivity effects. (Encapsulation of the Android Viewanimationutils.createcircularreveal () method)
Papershredder
The effect of paper-breaking maneuver painting
Tinker_imitator
Practice of Heat Update scheme
Scrollnumber
A simple, elegant, easy-to-use scrolling digital control!
Submitbutton
A Cool and elegant Submit Button
Giftcard
A Beautiful gift Cards for Android
Console
Android Console Implementation
Ringprogressbar
A simple implementation of a custom ring progress bar, which allows uploading and downloading images for file loading and other places
Stereoview
3D three-dimensional infinite rotating rolling container
Statusbarcompat
A compatible library for transparent status bar support for Api 19 and above
Wavesidebar
A quick jump grouping of side bar controls
Mdavatars
The main goal is working with SVG to make profile pictures.
Bottomnavigation
Android Material Design "bottomnavigation" design pattern implementation