Hand-in-hand instructions on building component architecture for Android projects
Article directory
1. overview
2. Basic configuration
3. Setting Module
1. overview
Project address: ComponentizationDemoComponentization: app is divided into modules according to business, function, etc. Then it can be implemented in specific modules with MVC, MVP, MVVM and other architectures.F ...
Posted by hypuk on Thu, 10 Oct 2019 13:34:10 -0700
Deploy Android Encapsulation Library to maven Private Servers via gradle and Depend on Use
1. Add the following sections to build.gradle under the module chrisbaselibrary that needs to be published
//maven Plug-in unit
apply plugin: 'maven'
//Pack main Code and resource under directory task
task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
//Configuration needs ...
Posted by dancing dragon on Fri, 04 Oct 2019 18:14:53 -0700
The first Spring Security application
Official introduction to Spring Security https://spring.io/projects/spring-security#learn
The goal of Spring Security is to solve "Who are you?" "What can you do?" Two questions.
Implementation steps
1. Create directory structure
|____spring-security-learn-1
| |____build.gradle
| |____src
| | |____main
| | | |____java
| | ...
Posted by Hell Toupee on Tue, 01 Oct 2019 23:29:44 -0700
Flutter uses Rammus to implement Ali Cloud Push
Preface:
Recently, the new Flutter project has the requirement of "Ali Cloud Push Notification", that is, when Flutter's App starts, it detects a new notification, clicks the notification bar and jumps to the specified page. Here I use the third-party plug-in Rammus to push notifications. I always used Fcm to push notifications befor ...
Posted by kctigers23 on Fri, 20 Sep 2019 02:59:53 -0700
Gradle Unit Testing
Gradle Unit Testing
We can perform unit testing tasks by adding Java plug-ins to Gradle. By default, all tests in the project will be executed. If we only want to test one of the classes, we can use the Java system property test.single as the name ...
Posted by Saruman on Tue, 17 Sep 2019 20:04:57 -0700
Android error summary
Links to the original text: https://blog.csdn.net/u013293125/article/details/52636929#commentBox
# Android error summary
Recently, I have been trying to summarize the mistakes I encounter when I w ...
Posted by Ixplodestuff8 on Sun, 08 Sep 2019 23:15:37 -0700
AOP Face-Oriented Programming, AspectJ's Application in Android
1. Brief introduction
1.1 Concept of AOP
AOP is the abbreviation of Aspect Oriented Programming, which means: Face-Oriented Programming, a technology to achieve the unified maintenance of program functions through pre-compiled mode and run-time ...
Posted by dsartain on Tue, 20 Aug 2019 00:00:03 -0700
Hand-in-hand teaching you how to build NDK environment
This paper is based on Android Studio 3.4.2, gradle:3.2.1
1. What are JNI and NDK?
JNI is the abbreviation of Java Native Interface (Java Local Interface) and a bridge between Java and other languages. The main applications in Android are: audio and video development, hot repair, plug-in, reverse development and system source code call. In orde ...
Posted by aaronrb on Mon, 12 Aug 2019 23:28:04 -0700
Like using gradle, network requests are made in kotlin
Preface
DSL is the abbreviation of Domain-Specific Language (DSL). Wikipedia is defined as a computer language focused on an application domain.
This statement seems abstract. In fact, the commonly used gradle is the most common manifestation of DSL. Let's take a look at the build.gradle in android ...
Posted by maqmus on Sat, 10 Aug 2019 06:59:51 -0700
Automatic system signature based on gradle+shell
Preface
Sometimes our application needs system-level privileges to implement some functions (such as silent installation), at this time we need to sign the application, package the APK for routine operations, decompress the apk, delete CERT.RSA and META-INF.
CERT.SF, then compressed, signed with the system signature tool, a meal may be 10 minut ...
Posted by Mardoxx on Fri, 09 Aug 2019 05:14:54 -0700