Introduction to Button of Android Control

Preface Small partners must be playing some games, such as Peace Elite, the name displayed on the interface, in fact, Android is the TextView control we introduced in the last article. Today, we bring you a very interesting control, which can do many interesting things with the content we talked about earlier.~ I. Structure public class Button ...

Posted by nickholt1972 on Thu, 15 Aug 2019 17:21:14 +0200

LinearLayout of Six Layouts

1. What is Layout? Layout - Interface layout that provides an interface architecture for applications.How to control the size, position, color and other properties of controls in an Activity. The relationship between Layout and ViewGroup ViewGroup is a container that inherits from View. ViewGroup is the base class for Layout and some other ...

Posted by Thierry on Thu, 15 Aug 2019 09:10:27 +0200

Android PigMedia Studio Audio Processing Packaging Dependency Library Creation Process Record

Developing PigMedia Studio Dependency Library Process Records (II) In recent work, I have contacted a lot about the use of MediaPlayer, SoundPool, TextToSpeach, hoping to encapsulate a library with both MediaPlayer and TextToSpeach functions. Start ...

Posted by Ralf Jones on Wed, 14 Aug 2019 05:17:42 +0200

JNI_NDK Advanced Programming Guide Part 2

JNI Knowledge Summarization and Use Skills JNI Definition JNI(Java Native Interface) means JAVA local call, which allows Java code to interact with code written in other languages. A standard mechanism for executing code under the control of a Java virtual machine. Reviewing JNI from a Code Perspe ...

Posted by closer on Tue, 13 Aug 2019 06:19:52 +0200

Android Month 2_Day8_Shared Preferences Storage + SD Card Storage

Android Month 2_Day8_Shared Preferences Storage + SD Card Storage SharedPreferences Usage Write data Reading data Use Case 1! [Insert Image Description here] (https://img-blog.csdnimg.cn/20190812203018932.png?X-oss-process=image/watermark, type_ZmFuZ3poZW5naGVpdGk, shadow_10, text_aHR0cHM6Ly9ibG9nLm ...

Posted by wildncrazyath3rt on Mon, 12 Aug 2019 14:43:24 +0200

Simple application examples of bindService and AIDL

1.Service is not a separate process, it is in the same process as its application. 2.Service is not a thread, which means we should avoid time-consuming operations in Service. Not to mention more, we directly go to the code, it is bingService to start the service, startService is not yet.... Through ...

Posted by bobthebuilder on Mon, 12 Aug 2019 14:11:21 +0200

Android 8.0 simply adapts to those things

Android 8.0 has been released for a long time and has not been adapted and upgraded based on user equipment and market requirements. Now there are some problems in adapting, so organize and record them. Official website The introduction of Android 8.0's new features and adaptation-related is very clear, and the side dishes are gradually upgrade ...

Posted by error_22 on Mon, 12 Aug 2019 13:32:40 +0200

retrofit 2.6.1 Source Parsing

Articles Catalogue Explanation of examples Source code parsing Create Retrofit instances (constructor pattern) Acquisition of PlatForm An example of dynamic proxy getting interface Acquisition of service method Constructing OkHttpCall Object Retrofit2 github address Explanation of examples Re ...

Posted by moallam on Mon, 12 Aug 2019 12:59:16 +0200

Android Real-time Filter Demo (GPUImage + Camera2 implementation)

I. Application screenshots Preface GPUImage is an open source image rendering library, which can easily achieve many filter effects, and also can easily define and implement its own unique filter effects. Address: https://github.com/cats-oss/android-gpuimage III. Dependent Engineering To use GPUI ...

Posted by colforbin05 on Mon, 12 Aug 2019 12:56:32 +0200

AndroidN adds physical keys [android7.1.2][msm8953]

1. Overview Based on the qcom msm8953 Android 7.1.2 platform, a new MODE key is required for the latest hardware modification in order to send a broadcast for the user layer to use. 2. Implementation (from bottom to top-> (kernel->frameworks)) First list the files involved in the implementatio ...

Posted by samshel on Mon, 12 Aug 2019 04:01:06 +0200