RxPermissions Usage Summary

First come to the conclusion. API Remarks Callback result request Return permission name is not supported;Returned permission result: true when all agree, false otherwise Application result: false requestEach List the name and application result of each authority Permission Name: ...

Posted on Fri, 01 Nov 2019 16:24:06 -0400 by sarah

How to realize the APP sharing link plus judgment in wechat to realize the access opened in the default browser

To share the app to the wechat page, if the app is already installed on the mobile phone, the "open app" button will be displayed; if the app is not installed on the mobile phone, the "download app" button will be displayed. However, if the user opens the link in wechat environment, it is impossible to download ...

Posted on Fri, 01 Nov 2019 14:28:59 -0400 by berrberr

Android 9.0 Bluetooth scan failed, ScanCallback.onScanFailed(int errorCode),errorCode=2

Recently, the Bluetooth bracelet can't be connected back to the Android 9.0 mobile phone. It always calls errorCode=2 in onScanFailed. There are four situations in errorCode: errorCode=1;Fails to start scan as BLE scan with the same settings is already started by the app. errorCode=2;Fails to start scan as app cannot b ...

Posted on Fri, 01 Nov 2019 09:05:45 -0400 by AmiraSan

android studio debugging zygote process (unsuccessful)

Generally, debugging system process is the only system process displayed by as. I just want to debug zygote process, and the result is long-lasting (debugging with as source code). I'm here to modify the source code and wait for the debugger actively when the zygote fork process is in progress.In system version 4.4.4, the modified documents ar ...

Posted on Fri, 01 Nov 2019 05:41:28 -0400 by LightningSt

Android performance test - analysis tool

brief introduction The performance test we are talking about here is mainly about the CPU and memory occupation rate of the application. If the CPU and memory occupation rate is too high, it will lead to memory leakage, cause the application to crash, and affect the user experience. test method First of all, let's talk about the methods of p ...

Posted on Thu, 31 Oct 2019 23:54:15 -0400 by skoobi

The problem of creating posters on canvas mobile terminal and the summary of this project

1. First set html and import static files <div style="display: none;"> <img src="@/assets/img/personal/sy.png" class="man man-2" id="man-2" alt=""> <img src="@/assets/img/personal/bj1.png" id="bg1" alt=""> <img src="@/assets/img/personal/bj2.png" id="bg2" alt=""> <img src="@/assets ...

Posted on Thu, 31 Oct 2019 01:29:03 -0400 by bakigkgz

11. Flutter page navigation and others

I. General page navigation and return The use of navigation is very important in any program, which is also the soul of a program. Before you do that, learn a few related components. RaisedButton component It has two basic properties: child: can be put into container, icon, text. Let you build colorful buttons. onPressed: click the response of ...

Posted on Tue, 29 Oct 2019 22:54:46 -0400 by broomstick

android simulator cannot run after android studio is installed

The Android emulator installed before can work normally. Later, because of the need to package app locally, after Android Studio is installed, the Android emulator cannot be opened. After checking the environment variables, there is no problem. SDK Manager essentially executes Android commands under ...

Posted on Tue, 29 Oct 2019 16:33:22 -0400 by toysrfive

Android performance optimization launch Optimization Practice

This article starts with WeChat public's "Android development tour". Preface This article will take you to see the introduction of start-up optimization and various optimization methods. I hope you will get something after reading this chapter. I believe that many students have heard the eight second law, which is a law existing in ...

Posted on Tue, 29 Oct 2019 06:54:58 -0400 by mikevarela

OKHTTP series - add common parameter interceptor of custom interceptor

I. Preface Earlier, when we talked about interceptors, we also talked about the calling order of interceptors. We will call the custom interceptors first, and then we will call the following interceptors. I won't talk about it here. Check the blog specifically. OKHTTP series (3) -- overview of Inter ...

Posted on Mon, 28 Oct 2019 14:56:45 -0400 by crag