[Android notes] Android Service

1, Service IntroductionService is one of the four components in the android system (Activity, service, BroadcastReceiver and ContentProvider). It is similar to the level of Activity, but it cannot run by itself, can only run in the background, and can interact with other components. Service canUTF-8...

Posted by sfullman on Thu, 09 Dec 2021 18:25:10 +1030

Leader: who can close the order with regular task and get out immediately!

In e-commerce, payment and other fields, there are often such scenarios. If the user gives up payment after placing an order, the order will be closed after the specified time period. Careful, you must find that there is such logic as Yibao and Yidong, and the time is very accurate, and the errUTF-8...

Posted by zplits on Fri, 10 Dec 2021 16:52:19 +1030

Android tutorial | Camera camera

Use Camera API to collect video, preview Camera data with SurfaceView and TextureView respectively, and get NV21 data callbackprepareUse camera permissionsNV21 format is used by default in camera preview callback.Check whether the phonUTF-8...

Posted by omegared on Fri, 10 Dec 2021 19:39:54 +1030

The elegant combination of Walle and reinforcement treasure

The multi-channel packaging scheme is now basically divided into Flavors scheme and meituan walle scheme. At the beginning, I personally chose the scheme of flavors. I configured flavors in gradle, but soon found the disadvantages. The packaging was very slow, especially the assembly task. The UTF-8...

Posted by jmac2501 on Sat, 11 Dec 2021 15:34:39 +1030

Use Android Jepack MotionLayout and Carousel to realize the rotation effect with animation

catalogue 1, What is MotionLayout 2, Getting started steps 1. Add dependency 2. Create MotionLayout files and MotionScene files 3. Some common motion scene file elements and attributes 3, Display of rotation picture effect 4, Realization of the effect of the rotation picture 1. Add interface elUTF-8...

Posted by subnet_rx on Sat, 11 Dec 2021 19:27:47 +1030

android set transition animation effects

​ Because I just learned android studio, many projects involve jumping to the page and using a variety of controls. However, due to the single style, the interaction of controls and page Jump are too monotonous, and the sense of use experience is not strong. So I learned how to make a simple juUTF-8...

Posted by rbragg on Sat, 11 Dec 2021 20:47:19 +1030

Android picture loading library Glide

Android picture loading library Glide Glide introduction Glide is a fast and efficient Android image loading library, focusing on smooth scrolling. Glide provides easy-to-use API, high-performance and scalable picture decoding pipeline, and automatic resource pooling technology. Glide's main goUTF-8...

Posted by jmcall10 on Sun, 12 Dec 2021 01:06:09 +1030

Android enables elegant and fast network requests!

targetSimple call and less repetitive codeIt does not depend on the third-party library (only Retrofit+Okhttp + collaboration)You can start immediately even if you don't understand the collaborative process at all (template code)What does it mean to write Kotlin code in Kotlin's way? Compare thUTF-8...

Posted by jwilliam on Sun, 12 Dec 2021 11:33:52 +1030

[Android notes] Jetpack Compose

Note that the controls in Jetpack Compose are defined as Composable functions one by one. Officially, these controls are called Composable and translated into Chinese as "Composable items". When emphasizing that they appear as part of an interface, I will use the terms of "control" or "element"UTF-8...

Posted by Fluoresce on Sun, 12 Dec 2021 12:57:30 +1030

Detailed explanation of Android multithreading IntentService

IntentService1, IntentService overviewIn the previous article, we talked about HandlerThread. In this article, we will take a look at the application of HandlerThread in IntentService. Before reading this article, we suggest to take a look at the HandlerThread in the previous article, which wilUTF-8...

Posted by daimoore on Sun, 12 Dec 2021 13:14:44 +1030