An effective scheme for real-time audio and video transmission of Android devices
Author: York zhou
preface
According to the general demand development process, this article will explain * * * an effective scheme of "obtaining real-time audio stream while playing video on Android devices" from demand, analysis, development to summary.
demand
In car products, there is such a demand. For example, I connect my A ...
Posted by scrypte on Mon, 31 Jan 2022 14:35:09 +0100
[Android event processing] respond to events set by the system (Configuration class)
Events in response to system settings (Configuration class)
Introduction to this section
**The Configuration class introduced in this section is used to describe the Configuration information of mobile devices, such as screen direction, touch mode of touch screen, etc. I believe all friends who have customized ROM should know that ...
Posted by ironside82 on Mon, 31 Jan 2022 08:14:39 +0100
Implementation of cross process communication (IPC) based on Android Application Development
The so-called cross process call, in Android application development, is different from the implementation of communication between two application processes. Let's divide the two communicating application processes into client and server. Here are two simple applications to understand how to realize cross process communication in Android appli ...
Posted by ironmonk3y on Mon, 31 Jan 2022 06:45:11 +0100
Android Studio opencv minimalist environment configuration (valid for 2022-1-30 personal test)
1, To create a basic project
1. Create an app project first 2. Select Basic Activity 3. Complete basic project creation 4. Run it to see if the virtual machine is available 5. Connect real machine test Because the camera function will be used, you need to use the real machine for testing. Next, configure the real machine for testing. Ref ...
Posted by bemoi on Sun, 30 Jan 2022 22:03:49 +0100
Dead loop drawing problem caused by ViewPager in Android x
brief introduction
Recently, when the project was upgraded to Android x, some problems suddenly appeared. The onStop and onDestroy of Activity became very slow, almost ten seconds, resulting in abnormal performance of some pages. So we started to solve this problem.
Find the reason
Causes of onStop and onDestroy callback delays
Let's fi ...
Posted by jmelnick on Sun, 30 Jan 2022 14:58:19 +0100
Assisted injection using Dagger and Hilt
This article is Assisted Injection With Dagger and Hilt For the translation of blog, students with good English can read the original text directly without climbing over the wall, and the source code in the article is also in the original blog.
The following is the translation of the original text.
Assisted injection using Dagger and Hilt
...
Posted by ejaboneta on Sun, 30 Jan 2022 13:26:06 +0100
Android multithreaded breakpoint Download
QDownload
QDownload is a download framework based on Android platform. API is simple and easy to use. It only takes 5 minutes to realize the function of multi task, multi thread and breakpoint download
The supported functions are as follows:
Support multiple downloading tasks at the same timeA single task supports multiple threads to downloa ...
Posted by ShawnK on Sun, 30 Jan 2022 12:33:16 +0100
android custom control -- drawing an underwater world
Welcome to my official account, "An Anan Android", to learn more knowledge.
Read a good book—— I said
In the previous articles, we talked about Canvas, Paint and Path commonly used in custom controls. In this article, we go further on the basis of the previous articles and draw the effect of an underwater world.
Proj ...
Posted by Tsukiyomi on Sun, 30 Jan 2022 03:19:03 +0100
Android: understanding and using OkHttp
OkHttp
1. What is OkHttp
1. Network request development
Advantages and disadvantages of Http request Library in history
HttpURLConnection—>Apache HTTP Client—>Volley—->okHttp
2. Project open source address
https://github.com/square/okhttp
3. What is OkHttp
OKhttp is an open source project of network request. And ...
Posted by geek_girl_2020 on Sat, 29 Jan 2022 16:34:34 +0100
android Jetpack - ViewModel usage method and detailed principle analysis
My official account, "Ann Ann Ann Android", is free to learn knowledge.
Most people are more concerned about usage, so I'll talk about usage first, then the understanding of viewmodel, and finally the source code
1. ViewModel initialization mode
When I come to Android x, the creation method of Viewmodel is very different from the ...
Posted by marseille on Sat, 29 Jan 2022 10:29:19 +0100