Security problems caused by improper verification of Https certificates

1. HTTPs communication using Webview Android has built-in credible agency certificates that can be used for HTTPs certificate verification. In fact, using Webview component for HTTPs communication, its certificate verification link is also the default system will do. If the certificate is found to be illegal, Webview will display a blank page ...

Posted on Thu, 28 Mar 2019 12:39:29 -0700 by drcdeath

Android water ripple display progress effect

As for the effect of water ripple, we must have seen a lot. I'll repeat it here again in order to deepen my impression. Let's look at the rendering first. The implementation of this effect need not be too complicated. To achieve this effect, we need to know PorterDuff and Xfermode. I'm sure you've seen this picture many times. This is actual ...

Posted on Thu, 28 Mar 2019 07:39:30 -0700 by markthien

Introduction to Messenger of Android IPC

Messenger, mainly used for interprocess communication (hereinafter referred to as "IPC"), is the simplest way to achieve IPC. Moreover, Messenger creates a queue containing all requests in a single thread so that developers do not have to design thread-safe services. In other words, Messenger is the IPC way to handle a single thread. ...

Posted on Thu, 28 Mar 2019 06:51:28 -0700 by jamesh

Android Double Wave Custom Control (DoubleWaveView)

It is found that the custom control at the top of Taobao's personal page is cool. Is there an IOS side? It is a dynamic double ripple effect. Because of the effect of the IOS side, it has the function of periodically changing the amplitude, which is more complex. For the gradual effect of amplitude, I was thinking about how to achieve it. I wa ...

Posted on Thu, 28 Mar 2019 04:30:30 -0700 by alevsky

Android Day 14 Multimedia Learning Notes

day14 Android Multimedia 1. Image Processing in Android 1.1 Loading Excessive Resolution Pictures and OOM Abnormalities 1.1.1 OOM Cause - Memory Overflow: OOM memory overflow errors occur when the resolution of the loaded image is too high. This is because the maximum memory application limit for Android vm is 16M. When we process pictu ...

Posted on Thu, 28 Mar 2019 03:24:28 -0700 by Potatis

Detailed Analysis of the Working Principle of ListView (I)

Introduction ListView is the most common and complex native control in Android system. It is necessary to understand how ListView works. When ListView loads a lot of data, the sliding up and down will not cause oom problems. As the finger slides, the screen will remove and add View, seamlessly connect the process, and will not increase more ...

Posted on Thu, 28 Mar 2019 02:36:29 -0700 by phpforever

Usage of Recycle view

RecyclerView gives all the display rules to a class called LayoutManager to complete. LayoutManager is an abstract class. The system has provided us with three default implementation classes: Linear LayoutManager, GridLayoutManager and Staggered GridLayoutManager. We can see from their names that they are linear display, grid display and water ...

Posted on Thu, 28 Mar 2019 02:30:30 -0700 by ubunken

Implementation of Android Night Mode (I)

Night mode implementation   The so-called night mode is that it can present different styles of interface to users according to different settings, and at night it does not hurt the eyes. The way to achieve this is called skin change (theme switching). There are many ways to realize the night mode on the Internet. Also decompiled severa ...

Posted on Thu, 28 Mar 2019 02:15:31 -0700 by tapupartforpres

Android Programmers Learn PHP Development (22) - Super Global Array / Super Global Variables - PhpStorm

For reprinting, please indicate the source: http://blog.csdn.net/iwanghang/Feel that the blog is useful, please comment, please pay attention, thank you! ~PHP Super Global Array, also known as PHP predefined array, is built-in by the PHP engine and does not require redefinition by developers. When a PHP script runs, PHP automatically places som ...

Posted on Wed, 27 Mar 2019 21:21:30 -0700 by tgavin

AIDL Usage Resolution of Android IPC

In the last article, we introduced the specific way to implement IPC through Messenger, but there are some limitations in the implementation of IPC by Messenger. Messenger only supports single-threaded communication and cannot process concurrent requests. Messenger can only be used for inter-process messaging, and the method on the server si ...

Posted on Wed, 27 Mar 2019 18:51:29 -0700 by rigi2