Android Learning Service Foundation

Android Service Service (service) It is one of the four components in Android. It can run in the background for a long time. The service does not need to provide a user interface. Even if the user switches to another application, the service can still run in the background. 1.Service Creation of 1.Service Creation of Service creatio ...

Posted on Tue, 19 May 2020 04:29:48 -0700 by George W. Bush

Complete interpretation of Flutter compiling and packaging system

The first thing a Fletter developer needs to know is how to compile and run a Fletter application. Different from the usual compilation of Android engineering projects, the package compilation of flutter is realized by calling the command line of flutter. In the process of compiling and running over and over again, you may often think about: wh ...

Posted on Sun, 17 May 2020 23:58:27 -0700 by MisterWebz

Since the May 1st movement, domestic mobile phones have been ravaged by cmtwg, nkvhu, qhsz and other malware.

Affected mobile phones include Meizu, China Mobile and other domestic mobile phones.             On May 12, some people began to ask cmtwg questions in Baidu, and on May 13, some people posted in mx bar. I received the mobile phone with problems earlier, about after May 1st. Some brands of domestic mobile phones with problems seem ...

Posted on Sun, 17 May 2020 22:15:58 -0700 by cneumann

Crud operation of Android SQLite database (case)

Article catalog 1. Summary of knowledge points 2. Case introduction 3. Layout file 4. Code 4.1 entity class: 4.2 create database 4.3 CRUD operation 5. Extension 5.1. Difference between getWritableDatabase() and getReadableDatabase(): 5.2. Interface description of SQLiteDataBase object ...

Posted on Sun, 17 May 2020 03:20:04 -0700 by exploo

Basic operation steps of alisophix hot fix framework

The first step is to go to Alibaba cloud to apply for an account registration. The next step is the management background instructions. The links are as follows: https://help.aliyun.com/document_detail/51434.html?spm=5176.doc53287.6.552.vZxNDm#Step5 Release patches List contents Create an app project project on andro ...

Posted on Fri, 15 May 2020 08:47:24 -0700 by paudelvikash

Capture Android screenshots with Espresso and JUnit

By Sergei Munovarov Original text: https://dev.to/serhuz/capturing-screenshots-on-android-with-espresso-and-junit-81f Translation: tommwq http://tommwq.tech/blog/%e7%94%a8espresso%e5%92%8cjunit%e6%8d%95%e6%8d%89android%e5%b1%8f%e5%b9%95%e6%88%aa%e5%9b%be/ Note: in the original android.support The package has been replaced with a new ...

Posted on Fri, 15 May 2020 03:08:12 -0700 by dsp77

Mixed programming of Flutter and applet

background In this paper, we will open a brain hole to integrate and run the small program scheme on the basis of Flutter project. First look at the effect as follows: New Flutter sample project Installation of Flutter For the installation of Flutter, please refer to https://flutterchina.club/get-started/install/ Specifically, the following t ...

Posted on Thu, 14 May 2020 02:06:14 -0700 by somenoise

Implement appium multiprocess compatibility test based on pytest

Preface In practice, if you want to test the compatibility of multiple devices with appium, you may think of "multi-threading", but due to the influence of GIL in python, multi-threading can not achieve "multi-machine parallelism", so you can consider the use of multi-process at this time. Why based on pytest We know tha ...

Posted on Mon, 11 May 2020 21:59:27 -0700 by bmcewan

An insecure snail/classic-bluetooth

Android Traditional (Classic) Bluetooth Framework Latest version function Support multi-device simultaneous connection Supports observer monitoring or callback.Note: Observer monitoring and callback can only be one of them! Support for controlling callback threads with comment@RunOn Supports method default execution threa ...

Posted on Sat, 09 May 2020 21:22:46 -0700 by mjs87

A bug in the NDK clang compiler

Problem Code float32_t Sum_float(float32_t *data, const int count) { float32x4_t res = vdupq_n_f32(0.0f); for(int i = 0; i < (count & (~15)); i += 16) { #if 01 float32x4x4_t v0 = vld1q_f32_x4(data + i); float32x4_t v00 = v0.val[0]; float32x4_t v01 = v0.val[1]; float32x4_t v02 = v0.val[2 ...

Posted on Sat, 09 May 2020 21:21:21 -0700 by id10t