gradle configuration skills for a complete Android project

Gradle configuration skills I summarized four gradle configuration skills, which can be more convenient for debugging and packaging in Android projects 1. Use gradle's custom Property to realize unified management of configuration and dependency of Android project 2. Use gradle's produc ...

Posted on Tue, 30 Jun 2020 12:40:10 -0400 by Tomcat13

Android build process - Part 2

Android build process - Part 2 Pre operation task list How to view a task class Task1: checkDebugClasspath 1. input/output 2. How to find the task implementation class 3. Core class (AppClasspathCheckTask) Task2: preDebugBuild 1. input/ouput 2. Core class (AppPreBuildTask) Task3: compileDebugAidl ...

Posted on Thu, 25 Jun 2020 22:42:13 -0400 by jason102178

[Unity] Unity embedded Web Mining record - ULiteWebView

[Unity] Unity embedded Web Mining record - ULiteWebView preface The project needs to require Unity project to interact with H5, which is really difficult for me. However, the good thing is that the Kung Fu is not inferior to the intentional people. After constant exploration, they have found a solut ...

Posted on Fri, 19 Jun 2020 05:45:31 -0400 by phpusers

Add jni -------- static registration to the latest as project in 2020

Step 1: import static code block into so Library static { System.loadLibrary("native-lib"); } Step 2: write external functions public native String getString(); //native stands for c\c + + implementation Step 3: generate function header with javah Enter the src/main/java directory of the pr ...

Posted on Mon, 15 Jun 2020 00:41:14 -0400 by TropicalBeach

Using Kotlin to develop Android application (10) - Navigation of architecture components

Navigation of architecture components Navigation component is a library that can manage complex navigation, transition animation, deep link and compile time check parameter transfer among multiple screens in the application To use Navigation, you need to build.gradle Add dependency to: implementation 'androidx.navigation:navigation-fragment: ...

Posted on Thu, 11 Jun 2020 00:51:42 -0400 by df75douglas

Idea builds springboot multi module project and manages dependency uniformly

1 Select File - > New - > project, select gradle java and click next 2. Enter the GroupId and artifactid of the project. GroupId is generally represented by domain name inversion, for example: com.ws Artifactid: project code, and then click Next 3 check as shown in the figure below. Use auto imp ...

Posted on Tue, 09 Jun 2020 01:17:11 -0400 by mckintosh18

Official introduction to Android CameraX

Getting started with CameraX 1. Before you start 2. Create project 1) Project new 2) Add Gradle dependency 3) Create viewfinder layout 4) Settings MainActivity.kt 3. Request camera permission 4. Implementation preview case 5. Implement ImageCapture use case 6. Implement image analysis use case 7. C ...

Posted on Mon, 08 Jun 2020 23:25:51 -0400 by rushdot

[Gradle tutorial] getting started with Gradle

This article is the address of the live room where I share the documents in the learning group in station B http://live.bilibili.com/22263819 PS: ask me, is there any good conference software under Linux? Thank you for your comments 00. Introduction Gradle is an open source automation construction tool, which supports multi language e ...

Posted on Sat, 30 May 2020 22:53:43 -0400 by DrJonesAC2

Android | teaches you how to use 30 minutes to develop a smile grabber on Android

preface Recently, Richard Yu introduced Huawei HMS core 4.0 to you at the conference. Please check the information of the conference:  What does Huawei mean by releasing HMS Core 4.0 to the world?                       . What can machi ...

Posted on Tue, 26 May 2020 05:48:32 -0400 by qrt123

Using Huawei HMS MLKit SDK to develop a smile grabber on Android in 30 minutes

Using Huawei HMS MLKit SDK to develop a smile grabber on Android in 30 minutesIntron The ability of machine learning service for face detection ==Core tip: this function is free and covered by Android! = = Practical development of multi face smile photo taking function 1 development preparation 1.1 add Huawei maven warehouse in project level gr ...

Posted on Fri, 22 May 2020 06:02:54 -0400 by Lee-Bartlett