"Look at the Handler with questions"

"Look at the Handler with questions" 1, Write in front At the beginning of the design, the Android system was designed as a single thread model. In fact, it is not only Android, but also Java Swing Historical reasons of Back to Android, we all know that the UI can only be updated in the UI thread, that is, the main thread, and it is ...

Added by teongkia on Fri, 21 Jan 2022 22:36:59 +0200

58 city Android Qigsaw upgrade-v1.0 4.1 multi ABI construction

58 city Android Qigsaw upgrade-v1.0 4.1 multi ABI construction 1. Background2. Scheme investigation and design3. Upgrade process 1. Background Qigsaw is an open source framework used by Wafers' dynamic capability, which carries the operation of 58App, arbitrary gate and Mocha. The group started from qigsaw v1.0 in 2020 / 03 3.2.2 fork access ...

Added by bogins on Fri, 21 Jan 2022 20:24:48 +0200

Android--jni play strange part 1

Learn jni development. Ensure that the AS has installed relevant SDK tools, mainly LLDB, NDK and CMAKE 1. Build a jni project Create a jni project and select Native C + +, New is complete. See what the default generated project has. 1.1 main page MainActivity public class MainActivity extends AppCompatActivity { // Used to load the ...

Added by derezzz on Fri, 21 Jan 2022 15:33:39 +0200

Android aspect programming AspectJ

Android AOP scheme (I) - AspectJ - Nuggets AOP is a concept without specific language implementation. It can overcome the shortcomings of languages with only single inheritance features (such as Java). There are many ways to implement AOP, and AspectJ is only one of them. AspectJ annotates the pointcut, pointcut object, etc. in the form of anno ...

Added by willeadie on Fri, 21 Jan 2022 13:14:20 +0200

Spring + Android project development. Succeeded

1, SpringBoot is used in IDEA to manage the back-end requests, which is the basic framework in IDEA 1.Spring integrates mybatis 1. Enter Dane and import the dependencies required by SSM framework 2. Create yml file //Create yml file spring: datasource: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name ...

Added by phpnow on Fri, 21 Jan 2022 12:32:55 +0200

The overall structure of Android official MVVM framework to realize componentization

Author: Dawish_ Big D Brief book: http://www.jianshu.com/u/40e1f22c2c53 (1) The overall structure of component implementation of Android official MVVM framework(2) Android official MVVM framework implements componentized ARouter in series with each module Current project structure chart top: Github address of Demo: https://github.com/D ...

Added by ibolui on Fri, 21 Jan 2022 12:09:31 +0200

Android Rights Management and Dynamic Request Permissions

Android Rights Management 1. Basic Introduction _Android security architecture states that by default, no application has the right to perform any action that adversely affects other applications, operating systems or users. This includes reading and writing the user's private data, such as contacts or e-mail, reading and writing fi ...

Added by nabeelkhan on Fri, 21 Jan 2022 11:19:03 +0200

Android lesson 3: Services

The article does not point out the creation of activities, layout code and control binding. You can find relevant videos for basic learning first Service Service Some applications rarely interact with users. They only interact with users in the background. They only process some tasks in the background, and users can still run other applicati ...

Added by Bailz on Fri, 21 Jan 2022 11:09:05 +0200

Android instant messaging series articles use the Netty framework to quickly set up a WebSocket server

The wechat technology account of "Wei Feng Chen" has been opened. In order to get the first-hand push of technical articles, you are welcome to search and pay attention! preface With the gradual deepening of the technical points discussed in this series, the official test server mentioned earlier can no longer meet the needs of our ...

Added by Bijan on Fri, 21 Jan 2022 10:36:21 +0200

android native crash analysis and solution

Common errors: Initialization error Array / iterator / pointer access out of bounds Access invalid / null pointer object Memory leak Parameter error stack overflow Type conversion error etc. 1. Log and its explanation: Log collection already exists by default. If you test and collect logs yourself, you can directly: ADB logcat - B crash ...

Added by LAEinc. Creations on Fri, 21 Jan 2022 04:13:08 +0200