Perfect integration example of Android Studio's latest version of ring letter SDK

Perfect integration example of Android Studio's latest version of ring letter SDK tags: ring information integration 1 Preface Recently, I saw that someone was looking for the problem of android integrating the ring letter SDK. I integrated the latest version of the ring letter SDK with the latest a ...

Posted on Wed, 19 Feb 2020 21:55:28 -0800 by RedOrbit

kotlin common tool class summary, efficient and elegant development of Android

   with the popularity of Kotlin, it is necessary to summarize and sort out the commonly used tool classes in development, includingUse kotlin to extend Android native control methods and properties. It is mainly divided into two parts: tool class util and native control extension ext toast usage toast("hello") click usage but ...

Posted on Wed, 19 Feb 2020 07:36:08 -0800 by Mark1inLA

Android simply uses DrawerLayout to make list left sliding menu Kotlin

Android simply uses DrawerLayout to make list left sliding menu Kotlin Display map Related knowledge Code Create item layout Create Adapter Page layout Page logic Finished Display map Related knowledge Android uses DataBinding in RecyclerView's custom Adapter Code Create item layout &lt ...

Posted on Wed, 19 Feb 2020 07:15:07 -0800 by ICEcoffee

Talk about the drawing process of View in an abstract way

Preface: Many times, when we look at the source code, we can understand its principle when we look at it, but it's easy to forget it soon after. This is because we don't leave an impression, know what we see, but feel unable to say it. This is the reason why we didn't summarize it; At present, many peo ...

Posted on Tue, 18 Feb 2020 20:29:50 -0800 by jolly

Android implements SLL Socket bidirectional authentication (the original format is pem (private key. Key and certificate. pem))

In order to realize TLS socket message authentication.Server requires:1) KeyStore: where the private key of the server is saved2) Trust KeyStore: where the client's authorization certificate is savedAgain, the Client needs to:1) KeyStore: where the client's private key is saved2) Trust KeyStore: wher ...

Posted on Tue, 18 Feb 2020 04:44:10 -0800 by Arenlor

The use of ListView in Android Development

First, let's see the effect of ListView after implementation, as shown in the following figure:         Now let's take a look at how to implement this ListView that can carry out up and down activities: The first is the code of the main interface activity > main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:andro ...

Posted on Mon, 17 Feb 2020 19:07:18 -0800 by tuneout

Prototype pattern of Java design pattern

Definition Use prototype instances to specify the kind of objects to create, and create new objects by copying these prototypes. The copied instance is the "prototype", which is customizable. Prototype pattern in Android source code 1. Intent Characteristic Advantage (1) Prototype mod ...

Posted on Sun, 16 Feb 2020 23:58:24 -0800 by andrewpike2000

Event handling of servicemanager

stay Start process of servicemanager In, you can see that servicemanager will enter the binder_loop() to start processing events after all preparations are ready. This note focuses on how to handle these core events. Command resolution: bind_parse() First of all, the command should be parsed and diffe ...

Posted on Sun, 16 Feb 2020 03:26:51 -0800 by m5638829

Differences between Android ScrollBy and ScrollTo

First of all, the conclusion comes from "Android development art exploration" ScrollBy actually calls the ScrollTo method, which implements relative sliding based on the current position, while ScrollTo implements absolute sliding based on the passed parameters. The so-called movement is the movement of the current ...

Posted on Sat, 15 Feb 2020 11:09:06 -0800 by jburfield

Some problems of parsing FileProvider QQUri under Android x

  1. Due to the Android version update, there is a library testing that Android X has abandoned v4, v7 and other versions Try one of the v4 packages of FileProvider that Android 7 started to use But after the Android 10 is adapted, the Android x library will be used instead androidx.core.content. ...

Posted on Sat, 15 Feb 2020 06:07:21 -0800 by matt_wood87