Used the popular flutter_webview_plugin , but it lacks 2 important functions. There are also errors when opening multiple webviews.
The Flutter method can not be invoked in JS.
Cannot block before H5 enters a URL
Although the plug-in is not complete, it is very convenient to use and encapsulates many functions. This plug-in can be used if the ...
Posted on Mon, 21 Oct 2019 18:11:59 -0400 by umguy
You can pay attention to me. I will always update the latest technical articles of Android.
I. quick reference table of Canvas's common operation
II. Basic operation of Canvas
1. Why does canvas operation need canvas operation?
Canvas operations can help us to create graphics in a more understandable way.
For example, how to draw a line segmen ...
Posted on Mon, 21 Oct 2019 16:08:57 -0400 by reli4nt
In addition to starting the Service through the startService() method, Android also provides a way to start the Service through the bindService() method. This way of starting the Service is associated with starting its basic component (such as Activity). When the basic component terminates and exits, th ...
Posted on Mon, 21 Oct 2019 15:58:38 -0400 by boiy
For most Android engineers, zoom gesture needs less opportunities. It is most commonly used in the following application scenarios, such as: picture browsing, picture editing (map effect), web page zoom, map, text reading (adjusting text size by zooming gesture), etc. The application scenario is relatively narrow, but there will certainly be so ...
Posted on Mon, 21 Oct 2019 15:44:18 -0400 by Quilmes
Original link: http://www.cnblogs.com/devinzhang/archive/2011/12/29/2306245.html
Hello, everyone. This section is about the use of Android Handler. Before we talk about Handler, let's ask a little question: how to make the app update th ...
Posted on Sun, 20 Oct 2019 12:17:07 -0400 by arie_parie
This is the beginning of the story. There is a demand for products. To make a small red book text folding function, there are a series of things in the back. However, after the implementation, I have learned a lot about TextView intercepting text. The specific effect is as follows:
First, summarize the following points to ...
Posted on Sat, 19 Oct 2019 17:03:17 -0400 by TheLoveableMonty
Original link: http://www.cnblogs.com/riasky/p/3508680.html
There are many ways to update the UI in android. I won't introduce them one by one here. Thread+Handler is commonly used, but this way is cumbersome, such as in Using ProgressD ...
Posted on Sat, 19 Oct 2019 13:11:15 -0400 by theflea912
Original link: http://www.cnblogs.com/riasky/p/3473271.html
Use 2dx to call android photographing function. After photographing, the photos will be displayed on the 2dx interface. If the photos are not processed, there will be a problem ...
Posted on Sat, 19 Oct 2019 12:16:08 -0400 by Exemption
Link in this article
In a certain interface, the user initiates a network request. For some reason, the user leaves the current interface before the network request is completed. A better way is to cancel the network request. For OkHttp, it is specifically to Call the cancel method of Call.
How can I find this network request and ca ...
Posted on Sat, 19 Oct 2019 07:58:05 -0400 by lucerias
I. what is AOP
AOP is the abbreviation of Aspect Oriented Programming, which means: a technology to realize the unified maintenance of program functions through precompiling and runtime dynamic agent in Aspect Oriented Programming. AOP is the continuation of OOP, a hot spot in software development, an important content in Spring framework, and ...
Posted on Thu, 17 Oct 2019 22:57:01 -0400 by TempleDMDKrazd