Mobile input development

As a front-end development, it is inevitable to contact input in the work, and make some customized development based on input. However, due to the differences of Android ios system, the webview selection of the host app (especially ios), the historical legacy of the app and so on, there will be a lot of compatibility problems. Next, I will rec ...

Posted on Sat, 26 Oct 2019 06:14:58 -0400 by johncrook

Glide -- cache analysis and collation

Article directory LruCache Summary principle DiskLruCache Summary Glide cache overview Resource classification Cache design Glide cache source code analysis 1. Generate key 2. Create a cache object LruResourceCache 3. Get pictures in memory cache 4. Start the thread of loading pictures 5. Get di ...

Posted on Sat, 26 Oct 2019 05:35:25 -0400 by shack

Code start application of Android push technology

What is the code? After inputting "*" * "< code >" * "*", the APP can monitor these inputs, and then make corresponding actions, such as starting the application, whether it is a bit noisy. Let's see how this operation is implemented. Effect preview Source code DialtactsActivity#showDialpadFragment There is ...

Posted on Fri, 25 Oct 2019 17:26:39 -0400 by sturbitt

crash exception handling of Android exception and performance optimization

Android applications will inevitably crash, that is, crash. Android provides a way to deal with such problems. When crash occurs, the system will call back uncaughtException method of UncaughtExceptionHandler. The exception information can be obtained in uncaughtException method. You can choose to store ...

Posted on Fri, 25 Oct 2019 12:10:13 -0400 by johnoc

AAChartCore, a powerful, elegant and easy-to-use Android data visualization tool set

AAChartCore English Document 🇬🇧 | Simplified Chinese document | Traditional Chinese document Your favorite AAChartCore open source chart framework is also available in Kotlin version. Please click the following link for details Portal https://github.com/AAChartMod... Preface AAChartCore, yes AAChartKit The Java language version of ...

Posted on Fri, 25 Oct 2019 04:36:10 -0400 by schlag

On Webrtc, do you understand

With the continuous progress of low latency streaming media technology, online education industry continues to heat up. This paper expounds the breakthrough of low delay live broadcast technology based on WebRTC architecture and its practice and thinking in the education industry.GitHub: Put github link first(more full project downloads. To b ...

Posted on Thu, 24 Oct 2019 21:24:33 -0400 by wdallman

How to execute groovy script file in java test framework

When I write the test framework based on httpclient, I use groovy script as the script language of the test case. Naturally, I need java to execute the uploaded test script. After reading the example, I encapsulate it. Generally speaking, it is similar to java reflection execution Java method. But there are also some incompatibilities. Some of ...

Posted on Thu, 24 Oct 2019 04:53:29 -0400 by GreyFilm

[Android JetPack series] LifeCycles

I. Introduction Lifecycles is a class that holds information about a component's lifecycle state, such as an activity or fragment, and allows other objects to observe that state. The lifecycle uses two main enumerations to track the lifecycle state of its associated components: Event: a Lifecycle event dispatched from the framework and Lifecy ...

Posted on Thu, 24 Oct 2019 02:07:23 -0400 by Nacota

Correlation wakeup phenomenon

test method Associated wake up log Conditions: 1. Use adb shell install xxx.apk 2. Do not click to open any third-party application, desktop standby Note: turn on the flight mode, keep wifi connected, turn on Bluetooth and GPS. 1. Send BroadCast 1.1 com.sina.weibo(uid:10156) is started by com.bai ...

Posted on Tue, 22 Oct 2019 17:00:49 -0400 by j_70

Analyze the right posture of Android Handler source code from the perspective of architect

What is the principle of Handler? Can you analyze the implementation mechanism of Handler in depth?The interviewer asked this question to know the source code of the handler, how to implement the handler mechanism, and whether he understood the message pump Looper.(more full project downloads. To be continued. Source code. The graphic knowled ...

Posted on Tue, 22 Oct 2019 11:25:21 -0400 by cordoprod