Analysis on the process of pulling up the soft keyboard in Android WebView

preface This article is flutter_ hybird_ Practice and technology sharing of WebView cross process rendering One of the research notes in the development process. If there are errors, please point them out. Source code analysis First, let's take a general look at the inheritance structure of webview: public class WebView extends MockView { ...

Posted by hubardz on Thu, 10 Feb 2022 15:07:21 +0100

Service startup process -- Based on Android 11

Service startup process -- Based on Android 11 Recently, when reviewing the relevant knowledge points of Android system, we all know that Android has four components: Activity, Service, Broadcast Receive and Content Provider. Compared with other knowledge points, the best way to review the four components is to follow the source code again. Wh ...

Posted by dionsweet on Thu, 10 Feb 2022 13:32:37 +0100

setContentView, a familiar and unfamiliar setContentView system

Why is setContentView familiar? Because this method is a method we have been in contact with since we started Android development. It is found in every Activity we have written. But why is setContentView strange? Because we only know how to use it in our daily development, and we don't deeply analyze how this method turns the layout resource id ...

Posted by sharapov on Thu, 10 Feb 2022 13:28:24 +0100

Android performance optimization memory leak, you want here~

prefaceIn Android, memory leakage is very common; The consequences of memory leakage will make the application Crash This article comprehensively introduces the essence, causes and solutions of memory leakage, and finally provides some common memory leakage analysis tools. I hope you will like them.catalogue1.png1. IntroductionML (Memory Leak) ...

Posted by happypete on Thu, 10 Feb 2022 10:26:17 +0100

The new application startup screen on Android 12 doesn't fit?

In the early days, the startup speed of App on Android was often criticized, and now the startup performance is not inferior to iOS. Google's continuous optimization of the system is absolutely indispensable, from SplashWindow independent of 8.0 to the new SplashScreen launched on 12. Before the main content of the App is displayed, acc ...

Posted by ldsmike88 on Wed, 09 Feb 2022 22:04:28 +0100

Reliable app reinforcement sharing

Let's take a look at the general process first Reinforced aerial view 1. Write the encryption method as a tool method for subsequent encryption and decryption preparation. 2. Write proxy Application (ProxyApplication) as the pseudo entry of apk after reinforcement. (when ProxyApplication is used as a pseudo entry, decrypt the encrypted apk ...

Posted by devork on Wed, 09 Feb 2022 16:52:26 +0100

Android bottom layer: familiar and easy to understand analysis binder: 1 Binder preparation

Originally written by binder When it comes to binder, many people should say how old the technology of binder is, and there are a lot of articles analyzing binder. You don't need to write articles about binder at all! In fact, I don't agree with this view. Tell me my reasons: You need to summarize the binder knowledge you have read and learne ...

Posted by rsilvs on Wed, 09 Feb 2022 14:31:53 +0100

15 classic interview questions and answer ideas, successful harvest meituan, Xiaomi Android offer

(1) Introduction Handler mechanism is a set of Android messaging mechanism. In the multithreaded application scenario of Android development, the operation information of the working thread that needs to update the UI is transferred to the UI main thread, so as to realize the UI update processing of the working thread, and finally realize the ...

Posted by hiprakhar on Wed, 09 Feb 2022 13:15:28 +0100

Influence of Android P behavior change on WebView

This problem was encountered years ago. On the first day of work after the year, I suddenly thought of the problem solved years ago when verifying other problems. I can't remember how to solve it at that time. I looked through the code and thought for a while before I remembered it. This is recorded here. The error logs counted are as follows: ...

Posted by philip@hux.co.za on Wed, 09 Feb 2022 12:25:33 +0100

Use of fluent database

explain Flutter native does not support database operation. It uses SQLlit plug-in to make applications have the ability to use database. In fact, flutter communicates with the native system through plug-ins to operate the database. Platform support FLutter's SQLite plug-in supports IOS, Android, and MacOS platformsIf you want to support Lin ...

Posted by Rustywolf on Wed, 09 Feb 2022 09:32:17 +0100