Android: Check notification permissions and jump to notification settings interface
Recently, in order to improve the push function in the project, we need to check whether the push permission is opened when we enter APP. If we do not open the bullet window reminder, when the user clicks on the bullet window, we can jump directly to the notification settings interface of APP.
1. De ...
Posted by gm04030276 on Tue, 01 Oct 2019 03:21:38 -0700
RxJava 2 + Retrofit 2 in combination
Instead of rxjava and retrofit, I'm going to go straight to 2, because 2 encapsulates better and more useful.
1. Observer model
For example, a common button click event is that a button is an observer, a listener is an observer, and a setOnClickListener process is a subscription. With a subscription relationship, when a button is clicked, the l ...
Posted by tha_mink on Mon, 30 Sep 2019 19:02:05 -0700
Case Analysis of SWT Restart
Strongly Recommend Articles: Welcome to CollectionAndroid dry goods sharing
Read for five minutes, ten o'clock a day, and study with you for life. Here's Android, a programmer.
This article mainly introduces some knowledge points in Android development. By reading this article, you will gain the following contents:
I. High Temperature Trigge ...
Posted by DarkArchon on Mon, 30 Sep 2019 08:35:09 -0700
uniapp Custom Bullet Window Component | Modal Modal Box | Loading Loading Load Box
uni-app Customized Modal Bullet Window Template uniPop, uniapp Imitated Wechat, android, ios Bullet Window Effect
uniPop has built-in animation effects, optional ios/android, customizable pop-up window style/customizable multi-button and event/pop-up window display location, auto-closing seconds, transparency of the mask layer, and whether or n ...
Posted by Domestics on Mon, 30 Sep 2019 01:07:58 -0700
Custom tabbar for fast applications (including show and jump tabs)
There is no native bottom tabbar in the fast application, if you have to implement it, you have to simulate it yourself. But if you do, there are some problems. For example, the component introduced in the custom tabbar can not trigger the onShow life cycle of the custom component, so you need to trigger it manually. Moreover, when you want to ...
Posted by chelerblondi on Mon, 30 Sep 2019 00:13:22 -0700
The Simplest Communication Driven by Binder
Binder is ubiquitous in Android systems, and Binder transmissions occur at every moment. In many cases, there will not only be a single Binder transmission in a process, often concurrent multiple Binder transmissions, and there will be Binder nesting. Especially important processes such as system_server will have more Binder transmissions. When ...
Posted by madhu on Sun, 29 Sep 2019 03:28:49 -0700
Android implements hot repair based on DexClassLoader
This paper briefly introduces a kind of implementation of thermal repair, plug-in principle can also be referred to.
Class Loader in Android System
Android shields ClassLoader's findClass loading method, so how does it implement its own class loading?
There are two classloaders in Android system: ...
Posted by phorcon3 on Thu, 26 Sep 2019 06:47:51 -0700
A Simple Example of Binder
Binder introduction
Binder is an interprocess communication mechanism (IPC) used in Android. In Android systems, applications are composed of four types of components: Activity, Service, Broadcast Receiver and Content Provider. They may run in the same process or in different processes. In addition, various system components are also running in ...
Posted by Shaun on Wed, 25 Sep 2019 23:19:52 -0700
Binder Driver Device Initialization
Binder is an interprocess communication tool used by Android. Android itself is a complex operating system, running a large number of applications and services, the communication between them is particularly important. When the application program uses Binder to communicate between processes, the implementation method is very simple. It only ne ...
Posted by art15 on Wed, 25 Sep 2019 21:09:38 -0700
Universal Verification Class for Interface Automation
In the process of automation, we will encounter a lot of verification points, but some verification functions are universal, so I encapsulated a general verification class to solve the problem of repeated verification. I also wrote one before. Now this adds an array of verification, and there are some hidden bug fixes. Not much to say, share th ...
Posted by RickChase on Wed, 25 Sep 2019 20:50:46 -0700