Android | super simple integration HMS ML Kit for maximum face smile capture

preface    if you have some knowledge of the face detection function of HMS ML Kit, I believe you have manually called the interface provided by us to write your own APP. At present, there are feedback from small partners in the process of calling the interface. It is not clear how to use the interface mlmaxsizefacetransportor in the ...

Posted by whizzykid on Mon, 25 May 2020 09:20:06 -0700

Custom View - Scan dial with rotation animation

In general, many APP s have a novice-guided process after the first installation starts, but each uses a different approach.Recently, when I did this, I no longer made wheels [I couldn't actually make it myself...) Find a more beautiful framework for beginners'guidance layer. Introduction to TourGuide A framework ...

Posted by auro on Sat, 23 May 2020 10:31:27 -0700

Multichannel packaging of a suite of code in Android Studio

A set of code does the following: Packaging different applicationId s can be installed on the same phone at the same time Different logo, app name, Different third-party SDK access configurations (e.g. WeChat sharing appid, laser push appkey) Ability to distinguish debug from release configurations Functions used: productFlavor and buildTypes ...

Posted by WindChill on Sat, 23 May 2020 10:26:31 -0700

How to add click sound to buttons

preface Many well-made apps have their own click sound effect, so how to achieve this effect simply is a concept called SoundPool , this class is mainly used to play some smaller audio files, because it is more convenient, usually used in the game more. code Without much gossip, we need to do a function now, ...

Posted by icedude on Sat, 23 May 2020 09:28:01 -0700

Stock market chart drawing, time-sharing chart and lightning chart

It's just a fluke. I think of a project XX market independently developed last year. There is a trend chart of individual stocks. It's based on android custom view, reflecting the complete process of custom view, analyzing the general process and part of the implementation code New rules, first effect Timesharing cha ...

Posted by jkejser on Sat, 23 May 2020 08:58:41 -0700

The operation instruction of Flutter's RenderBox & principle analysis

This paper is based on the source code analysis of version 1.12.13+hotfix.8. catalog catalog 1, Usage of RenderBox 1. Basic flow of using RenderBox (1) Measurement (2) Draw (3) Update 2,RenderObjectWidget (1) Introduction (2) Usage 3. hitTest of non container ...

Posted by redarrow on Thu, 21 May 2020 22:55:26 -0700

Android slide up or down to end Activity

I've seen it before xiaanming The side slip is written to return, so it follows his Demo and writes the slide from top to bottom or the slide from bottom to top to end the Activity Let's take a picture first. Because of the problem of the resolution of this computer and the reason of the simulator, let's have a look Post ...

Posted by krox on Tue, 19 May 2020 09:08:23 -0700

Android slide up or down to end Activity

I've seen it before xiaanming The side slip is written to return, so it follows his Demo and writes the slide from top to bottom or the slide from bottom to top to end the Activity Let's take a picture first. Because of the problem of the resolution of this computer and the reason of the simulator, let's have a look Post ...

Posted by k3Bobos on Tue, 19 May 2020 08:58:24 -0700

Continuous integration - UniApp

A basic APP build script. Please ignore this article. The author is not talented and can only try to sum up experience repeatedly.FROM fake front end Engineer background The official development tool HBX (abbreviated as HbuilderX) of UniApp needs to manually export the project file and then operate the Android project. Recall the scena ...

Posted by DeadEvil on Sun, 17 May 2020 21:30:44 -0700

Android serial 11 - excellent practice of news app

1, Using shards for a best practice, we write a news app 1. First, create a news class   package com.example.fragmentbestpractice; ​ public class News { private String title; private String content; ​ public String getTitle() { return title; } ​ public void setTitle(String title) { this.title = title; } ​ ...

Posted by TonyIOD on Sun, 17 May 2020 09:03:54 -0700