Understanding Thread Pool in android

1. What is thread pool When we want to use a thread, we can create a thread, but if we want to use multiple threads, we need to create multiple threads. But threads are a kind of restricted system resources, which can not be generated indefinitely, and the creation and destruction of threads will produce corresponding overhead. If threads are c ...

Posted by mcbeckel on Tue, 21 May 2019 02:59:35 +0200

Implementation of Appium

This article is from: [TesterHome article] (https://testerhome.com/topics/7352) Appium Architecture start appium server URL Routing Resolution Create session and executeCommand android executes commands In this paper, the implementation process of appium(version:1.6.4-beta) source code is introduced. Inevi ...

Posted by rpanning on Mon, 20 May 2019 23:52:39 +0200

android unit testing

In fact, every time you create a new andorid project, you will automatically import JUnit. What is this? Many times I feel that this thing is useless, and I delete it inadvertently, until I see Clean Code, I realize that this thing seems very important, so I start to learn by myself. The following basic steps are recorded: 1 (model) build.g ...

Posted by keith73 on Mon, 20 May 2019 22:02:48 +0200

android Application Development - From Design to Implementation of 4-10 Analytical Weather Forecast Data

Analysis of Weather Forecast Data After the layout of the interface is completed, it is necessary to design code to control the logic of the elements on the interface. Obtaining weather forecast data from network; Analyzing the acquired data; Update the weather forecast interface according to the analytical results. Weather forecast data d ...

Posted by ricroma on Mon, 20 May 2019 21:47:37 +0200

PreferenceActivity (PreferenceActivity page)

Introduction to Preference Activity It has always been thought that the user interface of the software was written by the author himself. Today, I found that a ready-made Preference Activity can be used, which is very convenient. You should all know that most applications have options pages. Most of the options pages referred to here have ...

Posted by ravravid on Mon, 20 May 2019 20:30:36 +0200

Create your own APP "Ice and Fire Encyclopedia" (3): Material Design Control

Since the release of Material Design in Google I/O 2014, the design language has been perfected. Material Design is one of my favorite designs. In the project, I will use the control of Material Design as much as possible. Here's a brief introduction to Material Design control in "Encyclopedia of Ice and Fire". Sideslip menu A ...

Posted by objNoob on Mon, 20 May 2019 00:58:32 +0200

Mobile front-end image compression upload

ABSTRACT: Before doing a small game platform project, there was a "user center" module, which involved the function of uploading avatars. When uploading pictures on mobile terminals, they are all local pictures of mobile phones, and the local pictures are generally relatively large. Take smart phones today, usually ma ...

Posted by nylex on Mon, 20 May 2019 00:21:31 +0200

Simple Use of android studio JNI/NDK

See android sdk26(8.0) when it was recently updated NDK 15.2.4203891 So I updated it. I didn't expect to dry up the D disk directly. I could only delete some files from the D disk, including the android-ndk-r13b file. By the way, run it again and record it. Although there are not many opportunities to contact JNI development, but occasional ...

Posted by myitanalyst on Sun, 19 May 2019 20:35:24 +0200

Compiling adb on arm platform

Refer to github: https://github.com/bonnyfone/adb-arm The original purpose was to get shell privileges using adb shell after the arm platform compiled, and then avoid the problem that other privileges could not execute su. At first, I modified the su.c in the android source code, commented out the root and shell permission validation part, co ...

Posted by Pepe on Sun, 19 May 2019 15:25:04 +0200

Android Custom View (2. Deep parsing of custom attributes)

Catalog: Why do you want to customize attributes How to customize attributes Type format for attribute values Getting attribute values in classes Attributeset and TypedArray and declare-styleable In the last blog Android Custom View (First Experience) We have experienced the basic process of custom control: Inheriting View ...

Posted by mallen on Sun, 19 May 2019 13:32:07 +0200