RX Java 1 is simple to use

Article directory Preface Environmental configuration Observable Simple Subscription and Observation Interthreaded switching Complete life cycle exception handling Observable Management Simple example RXJava in conjunction with Retrofit Define Retrofit interface class Initialize the Retrofit class Simple network requests O ...

Posted by fusioneko on Fri, 17 May 2019 02:17:49 -0700

Front-end Common Problem: Android Text Can't Center Vertically

The Problem that Android Text Can't Center Vertically problem Android webview font size less than 12 pixels can not use line height to center vertically ps: At present, this problem exists in applications such as Wechat, but it does not exist in the latest mobile Chrome browser (as of the writing time of this article, the chrome version of Wech ...

Posted by EriRyoutan on Fri, 17 May 2019 00:46:50 -0700

Android Knows It - Using ADB to Operate Clipboard

If mobile access is not good, please use - >. Github version Key words: service call, clipboard, Unknown package A project in hand needs to perform a sauce operation. One of the steps is to use ADB to operate Clipboard (pasteboard). After searching for a long time, it is found that direct operation is not feasible, exactly when Android AP ...

Posted by envexlabs on Thu, 16 May 2019 19:26:05 -0700

Principle of Android Thermal Repair

This paper is a brief introduction to the principle of thermal repair in the series of "Tamping Foundation in 2018" Author: Bob Background (1) Why is there thermal repair technology? Everyone is developing, so we should all know that there is one thing we can never avoid. Good, ** Bug! ** It's good that we encoun ...

Posted by joking on Thu, 16 May 2019 19:16:00 -0700

Accelerometer Simple Use - Labyrinth Game

Today, by writing a simple maze game, we show you how to use the built-in accelerometer of the iPhone. The effect of the game is shown in the following figure. Users control the orange pacman moving by shaking the screen up and down, pacman will bounce back when it hits the edge of the screen or the wall (blue border box), and ...

Posted by ajar on Thu, 16 May 2019 10:03:18 -0700

The Context underlying principle of Android

Context is translated into Chinese as: context; context; background; environment, which we often call "context" in development. From the perspective of Android system: Context is a scenario, representing a process of interaction with the operating system. Context is involved in loading resources, launching activities, ...

Posted by swampster on Thu, 16 May 2019 04:30:46 -0700

Problem and Solution of https Request Failure of Android Mobile Wechat 7.0.4 Debugging Widget

Note: To read this article, you need an Android phone that already has root! Explain System: MacOS 10.13.6 Mobile phone: millet 6 (already root) Pack Grabbing Tool: Charles Wechat Version: 7.0.4 phenomenon Android phones can't grab https requests through Charles proxy. I used 7.0.3 the day before yesterday (April 16, 2019). I don't know why I ...

Posted by bluntster on Wed, 15 May 2019 23:57:03 -0700

Android Imitation Flipboard Animation

@(Alu) 1. on the original The animation effect in Filpboard I saw in Hencoder's draft a few days ago: Filipboard.gif First bb sentence: read this article at the same time, if you feel that I write vague read not understand can be directly pulled to the end of the text, with the complete code to see step by step. 2. implementation Overall ...

Posted by herbally on Wed, 15 May 2019 23:22:44 -0700

Source Coding Qt5

Linux Mint Source Coding Qt5.8 Introduction Compile and install process Download source code To configure Installation of required tools Install xcb Libraries Install Multimedia Library configuration option Compile source code Configuring Qt paths Install qtCreator Introduction After Qt5.5, the official Qt has no 32- ...

Posted by stomlin on Wed, 15 May 2019 21:05:48 -0700

Common commands for android adb

Reprint http://xuxu1988.com/2015/05/15/android-adb-commands  For mobile Android testing, adb command is an important point. We must memorize the commonly used adb commands, which will bring great convenience to Android testing. Many of these commands will be used in scripts for automated testing. Android Debug Bridge adb is actually Android De ...

Posted by Rayman3.tk on Wed, 15 May 2019 06:27:33 -0700