Android Modular programming referencing the local AAR
As projects become more and more, the reuse of code becomes extremely important, and it is time to do modular programming, which is to make a separate module of some common components or libraries, and other items to be referenced directly. Android libraries are the most common for Android development, and the way to refer to the Android library before Gradle appears is cumbersome, but with gradle everything becomes very simple and convenient.
The implementation of Jsbridge
Android's WebView API has a addjavascriptinterface function that is used to inject a JS object into the page's window, and if you use this API in your app, It is recommended to first look at the domestic security field first person black brother of this article Android WebView vulnerability behind the moral integrity.
Android single Touch technology, panning, zooming, and rotating images
I believe that you use multi-point to the image to zoom, the operation of the translation is very familiar with, most of the large map of the browser has this function, some apps can also rotate the picture, QQ large map can be rotated to the picture, we all know the picture to zoom, translation, Rotation and other operations can be achieved using the matrix, matrix is a 3x3 matrix, the processing of the image can be divided into four basic transformation operations, Translate (translation transformation), Rotate (rotation transformation), scale (scaling transformation), Skew (Error-cut transformation).
Android performance optimization using the mat to analyze memory leak issues
We usually in the development of Android applications, a little careless may produce oom, although Java has garbage collector, but also can not prevent memory leaks, memory overflow and other issues, with the progress of technology, mobile device memory is getting bigger, but due to the uneven Android devices, May run in this device well, running on that equipment on the report Oom, these adaptation problems are also compared to the egg pain, ...
Detailed usage of span/demo/custom method
The detailed usage/presentation/customization method of span, first describes the inheritance relationship in the framework between each span and how it works, and then provides a detailed explanation of each span in conjunction with a specific example, with a picture of the truth.
Android Development Tips Collection (1)
Android Development Tips A total of five articles describe some of the more useful APIs you might not know about. Other four: Android Development Tips Collection (2), Android Development Tips collection (3), Android Development Tips collection (4), Android Development Tips collection (5).
Android drawable Those non-known and efficient usage
Drawable in our usual development, the basic will be used, but also to everyone very useful. So what is drawable? A thing that can be drawn on canvas, and compared to view, does not need to consider measure, layout, just to consider how to draw (Canavs).
Rxjava (i: Basic article)
Rxjava is becoming more and more popular among Android developers. The only problem is that it's not easy to get started, especially when most people use imperative programming languages. But once you figure it out, you'll find Rxjava really great. Here is just to help you understand Rxjava, the entire series A total of four articles, I hope you read these four articles can understand Rxjava behind the thought, and like Rxjava.
Best Practices for Android development
Best practices in Android development, sorting out some good Android practices.
About the Tools property in XML
About Tools:context,tools:menu,tools:actionbarnavmode,tools:listitem/listheader/listfooter,tools:showin,tools in XML: Layout of the role of the introduction, but also save a large number of Java code.
Simple steps to teach you not to use a VPN still FQ
Here we teach you an easy way, just modify the host to be FQ. and online change host method, Baidu to the host address is basically fixed, may be a short time useful, but was the wall of GG. Here is a link to the @netsh.org blog, the netsh great god will often update the host address, even if the previous host address was a wall, to update it can continue on.