Android startup - Application startup process
Based on Android 11-api30
Overview
Obtain two binders, applicationThread and AMS 2. During attach, the obtained applicationThread object is also passed to the AMS process, requesting a remote call to inform the AMS Application process that it wants to create an Application. At this time, AMS is the serverAMS receives a message and requests to ...
Posted by Ambush Commander on Tue, 19 Oct 2021 13:12:48 -0700
Android processes and threads (understand > use > common interview questions)
🔥 concept
💥 process
The basic unit of program operation. The basic unit of system resource allocation and scheduling. Has its own independent address space. Multiple processes can execute concurrently. Thread container
💥 thread
The smallest unit of program execution. The basic unit of CPU scheduling and dispatch. There is ...
Posted by pinacoladaxb on Mon, 18 Oct 2021 14:59:13 -0700
Android recyclerView exposure statistics
1, Background
In product requirements, we often count the exposure requirements of each item of recyclerView: The recyclerView scrolls up and down each item from invisible to the visible range of the screen (this includes the visible range of the item and the exposure duration of the item) During tab switching or page switching, it will cause ...
Posted by project168 on Sun, 17 Oct 2021 18:38:30 -0700
Application and Practice of Class 2019 Software Engineering - Artificial Intelligence Express Cabinet (Code Analysis 2)
2021SC@SDUSC In the first blog post, I learned the basic ways to use Android Studio. The second part mainly uses part of the first week and all the time of the second week to learn the grammar needed for Android development, through which you can finally understand part of the code. Here are some points of knowledge that you summarized from the ...
Posted by veroaero on Sun, 17 Oct 2021 11:12:27 -0700
Record the experience of learning the basics of Android 08: common controls (intermediate) P1
Today, with the long tassel in hand, when will the dragon be bound Qingpingle Liupanshan
preface
This article continues to summarize the controls commonly used in Android, which is a further supplement to the previous common sense and basic articles, including image view, list view, dialog box, page turning view, video view, surface ...
Posted by greg_soulsby on Sun, 17 Oct 2021 10:04:47 -0700
Mobile terminal application development computer 3 component communication and broadcasting
1, Title: design an APP.
1. Design an APP. (1) There are two interfaces in the APP. (2) There are two buttons "login" and "broadcast" on the main activity. Click the "login" button to open a new activity. Click the "broadcast" button to send a broadcast message. (3) On the new activity interface, you can ...
Posted by ole968 on Sat, 16 Oct 2021 00:08:43 -0700
Zygote -- fertilized egg of java World in Android system (I. zygote in C/C + +)
0. Introduction
    The underlying kernel of Android is built based on Linux, which is in the Native world, while the upper application of Android belongs to the Java world. So how did the system hatch the Java world from Native during the startup of the Android system? This is the main responsibility of Zygote, the pr ...
Posted by cuongvt on Fri, 15 Oct 2021 13:12:07 -0700
IntentService for Android multithreading
####What is IntentService?
IntentService inherits from Service, so IntentService is also one of the four major components. IntentService encapsulates the HandlerThread thread thread (only one thread) to process asynchronous tasks in sequence. Start IntentService through startService(Intent) and transmit asynchronous tasks through Intent. When ...
Posted by dotti on Fri, 15 Oct 2021 12:45:38 -0700
Android technology sharing: how to customize View instead of notification animation?
The effect achieved by ObjectAimator in Demo can also be achieved by using a View.
Problems to be solved to implement this custom View:
Override onMeasure to calculate its own sizeText drawingThe picture is loaded and displayed as a circle
Optimization involved in image loading (such as size and cache)Animation effect
The message appear ...
Posted by woobarb on Fri, 15 Oct 2021 02:40:55 -0700
android volume adjustment
Volume adjustment is divided into three parts: master volume (hardware volume, control sound card), stream volume (stream volume) and track volume(app volume).
app volume formula: app_mix = master_volume * stream_volume * track_volume; Where master_volume,stream_volume and track_volume is a percentage, and 1 indicates that the volume is adju ...
Posted by penkomitev on Thu, 14 Oct 2021 22:26:55 -0700