Analysis of Android GUI's SurfaceFlinger (06) server 1 - handling VSYNC
Link to the general outline of this series of articles: surface flinger series of articles of Android GUI system
Summary & description of key points in this chapter:
The mind map of this chapter is as above. This paper mainly describes the process of surface flinger to deal with Vsync mechan ...
Posted by Floodboy on Fri, 13 Mar 2020 22:04:42 -0700
Simple implementation of Android drawer menu (DrawerLayout+NavigationView)
Recently, I met the use of the drawer menu in my study. Write down a note.
First create the layout file as follows:
<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/dl"
xmln ...
Posted by antileon on Wed, 11 Mar 2020 00:09:25 -0700
Android+tensorflow Lite+python building process
background
Artificial intelligence is on fire, so is tensorflow. Google has launched TensorFlow Lite for mobile, which should be familiar with as an android development. Today's goal is to be able to deploy the deep learning framework on the mobile side. Since Android can also run tensorflow, why don' ...
Posted by GroundZeroStudios on Tue, 10 Mar 2020 05:28:19 -0700
Building an Android Project with Kotlin DSL
Preface
Android supports using Kotlin DSL to build Gradle scripts, don't you want to learn a wave yet?
Theme of this article:
1. How to replace Groovy with Kotlin DSL
2. Problems encountered in the process and Solutions
Why use Kotlin DSL
Advantages of using Kotlin DSL:
Since Kotlin is now the offi ...
Posted by shubham.amola on Mon, 09 Mar 2020 18:10:09 -0700
Android EventBus source code analysis
Preface
In the last article, I gave a brief account of the usage of EventBus, and then I went to study the source code of EventBus 3.0. I also referred to some big blogs on the Internet for further understanding. I wrote this article to give myself a good summary and review of EventBus. If there is an ...
Posted by carydean on Mon, 09 Mar 2020 01:59:50 -0700
Detailed analysis of Lifecycle
Lifecycle source code analysis
Catalogue introduction
01. What is the role of lifecycle
02. Simple use of lifecycle
03. Usage scenarios of lifecycle
04. How to realize life cycle awareness
05. How annotation methods are called
06.addObserver call analysis
07. Sort out and summarize the knowledge po ...
Posted by wangsc66 on Sun, 08 Mar 2020 19:37:25 -0700
Android Application Startup Process - Process Creation
app process creation
As you can see in this sketch, Launcher's click on the icon to start the process involves three roles.
Launcher is the Initiate Request Process (caller), AMS receives Launcher's request and processes it. If the Activity process to be started does not exist, connect to Zygote through a local socket and initiate a request to ...
Posted by drath on Fri, 06 Mar 2020 09:07:22 -0800
wifi status monitoring in Android devices
I. objectives
The APP monitors the status information of wifi connected to Android devices (mobile phones, TV or other devices) and uploads it to the server regularly to analyze the status and signal strength of wifi in the environment where the devices are located at a specific time point.
2, Use s ...
Posted by Isomerizer on Thu, 05 Mar 2020 03:44:14 -0800
Compiling arttoolkit x with Android Studio+CMakeLists
If the company wants to study the AR technology in advance, it will try to study the arttoolkit. The Internet is full of examples about compiling arttoolkit 5. Arttoolkit 5 has not been updated for a long time, and arttoolkit x is the latest version, but it has not found a way to compile arttoolkit x ...
Posted by bpops on Wed, 04 Mar 2020 00:18:11 -0800
Use of Android AlarmManager alarm clock
Introduction to AlarmManager
The AlarmManager class provides an interface to the system alarm service.
You can set up a wake-up function for your app at a certain time in the future.
When the alarm clock rings, the system actually sends out a broadcast registered for the alarm clock, which will automati ...
Posted by miesemer on Tue, 03 Mar 2020 23:28:59 -0800