A quick way to confuse beginners with Android

A fast way to confuse small whites for Android Why confuse Start confusing step one Several commands related to rules that keep relevant elements out of confusion are highlighted first: Fast confusion? What if the relying non-mainstream open source library authors don't mention anything about confu ...

Posted by KevMull on Fri, 17 Jan 2020 19:01:00 -0800

Answer assistant software

android makes a question answering assistant software At present, there will be question answering entertainment on all major platforms or in the game. However, if you manually type questions, the time for answering questions will be over before you finish typing, which is slow. So do a simple acad ...

Posted by Xander756 on Fri, 17 Jan 2020 03:58:33 -0800

Several ways for Android to update UI through subthread

Several ways for Android to update UI through subthread In general, the update of UI cannot be without Handler. First, let's understand the Handler mechanism: Handler message mechanismDefinition MessageThe data unit for inter thread communication can carry the required data through message to create an object: Message.obtain(what) HandlerHandle ...

Posted by blckspder on Thu, 16 Jan 2020 23:27:08 -0800

Source analysis of Android mainstream triplet libraries (3. Deep understanding of Glide source)

Preface To be a great Android developer, you need a complete Knowledge System Here, let's grow up as we want. tips: articles are too long to favor your collection first, then read them slowly ~ In the first two chapters, we have analyzed the core source code of OKHttp, the underlying framework of A ...

Posted by GetReady on Thu, 16 Jan 2020 18:29:25 -0800

Learning and using SlidingPanelLayout

Article directory SlidingPanelLayout Application scenario Commonly used API Usage mode Source code analysis summary SlidingPanelLayout Application scenario SlidingPaneLayout is a layout that Android launched in android-support-v4.jar to support sliding test panel. For example: headline detail ...

Posted by 7724 on Thu, 16 Jan 2020 03:19:43 -0800

How easy is the Android floating window to implement?This is easy to do with kotlin!

Starting with business applications, this paper abstracts a floating window tool class from scratch that can be used to display floating windows on any business interface.It can manage multiple floating windows at the same time, and floating windows can respond to touch events, can be dragged, and have side animations. The sample code is writt ...

Posted by mrdave on Wed, 15 Jan 2020 10:33:32 -0800

android native and H5 interaction

Recently, a hybrid APP of Android native H5 was developed on the left. Before that, we haven't summarized the interaction methods between Android native and H5. Here's a summary: 1. hybrid communication is mainly the communication between the front-end JS and our Android. This is the most basic communic ...

Posted by fewtrem on Tue, 14 Jan 2020 20:32:01 -0800

How to read card information with NFC mobile phone

Here are the steps: 1. Get management permission: this development package has been integrated, which can be done with only one code call. This is quite convenient. PermissionUtil.grantNeedPermission(this); 2. Open NFC and listen to NFC events. If you don't understand this paragraph, you c ...

Posted by edcaru on Tue, 14 Jan 2020 18:21:13 -0800

Using Zxing to scan QR code and generate QR code for front camera in Android

Now the use of QR code is more and more widely, and it can be seen almost everywhere, and almost all of the company's related projects are related to QR code scanning, so summarize your own experience of using QR code, and always feel that something should be done to record your growth, so that your gro ...

Posted by samirk on Tue, 14 Jan 2020 03:08:04 -0800

Dart asynchronous programming

This article is [ From scratch, let's learn and develop a Flutter App together ]The second article on the road. This article will solve the problem left by the previous article: how does asynchronous processing work in Dart? First, we briefly introduce Future, sync and await, which are commonly used in Dart; second, we try to analyze the async ...

Posted by shalinik on Mon, 13 Jan 2020 21:01:23 -0800