Simple analysis of DocumentUI in Android

DocumentUI process analysis DocumentUI is a document manager. In our daily use, in addition to a separate entry, we enter it more by selecting documents through other applications. In the source code of Android 12, the Mainfest file also provides us with two methods to enter activities through LauncherActivity and FilesActivity. The specific c ...

Posted by jonorr1 on Tue, 11 Jan 2022 15:59:58 +0100

Android development is too difficult: Java Lambda ≠ Android Lambda

This article has authorized the official account of "Hongyang" to be published. I'm here again and continue to return to writing. My goal is 2 articles in January. It takes two articles to explain clearly Java Lambda ≠ Android Lambda. This is the previous article. First, explain some knowledge of Java Lambda. Read this article ...

Posted by drcdeath on Tue, 11 Jan 2022 13:14:32 +0100

Android: simple understanding and use of inter process communication (IPC) in Android learning notes

Interprocess communication mode 1. Background Before we explain Binder, let's learn some basic knowledge of Linux 1.1. Process space division IPC is inter process communication. Android is based on Linux. For security reasons, different processes cannot operate on each other's data, which is called "process isolation". 1.2 ...

Posted by jhlove on Tue, 11 Jan 2022 02:01:26 +0100

Strategy mode 2 of Glide design pattern [DownsampleStrategy]

Strategy mode II DownsampleStrategy Package path: com bumptech. glide. load. resource. bitmap. DownsampleStrategy Indicates the algorithm used when down sampling the image. DownsampleStrategy does not provide any guarantee about the output size. The behavior will vary, depending on the strategy used by the ResourceDecoder and the Android ver ...

Posted by kemper on Mon, 10 Jan 2022 07:10:39 +0100

Android - contacts

1, Experimental purpose Practice mastering the basic programming technology of Android Software development, the use of SQLite database of Android system, the use of calls and SMS, and design and make an Android address book software. 2, Experimental content The realized address book function and interface can be designed by each student in ...

Posted by monstro on Mon, 10 Jan 2022 02:01:35 +0100

Android calculator

1, Experimental purpose Practice mastering the interface layout, event programming and other basic programming technologies of Android Software development, and design and make an Android calculator software. 2, Experimental content The calculator function and interface realized can be designed by each student in the experimental development ...

Posted by skeppens on Mon, 10 Jan 2022 01:57:00 +0100

Android project architecture design in simple terms

Author Pu KeThis paper introduces how to design the architecture of a large Android project from 0 to 1.One guideThis article is long and can be combined with the following table to guide you to quickly understand the main context of the full text.II. Project architecture evolutionThis chapter mainly summarizes the evolution process of an Andro ...

Posted by PHP Newb on Sat, 08 Jan 2022 20:22:55 +0100

Android AIDL tutorial

AIDL (Android Interface Definition Language) is an IDL language, which is used to generate code for interprocess communication (IPC) between two processes on Android devices. Through AIDL, you can obtain the data of another process in one process and call its exposed methods, so as to meet the needs of inter process communication. Generally, th ...

Posted by allspiritseve on Fri, 07 Jan 2022 13:41:31 +0100

module relies on the most elegant practical solution in the Android componentization scenario

Author: Leo Bert LAN background If I remember correctly, the Android project will gradually turn to Gradle construction in 15 years. Up to now, componentization is no longer a novel topic. Although I put this article in the gradle category, we know that the focus of the backend project built with gradle is to realize microservicing. The pr ...

Posted by Dark_Archon on Thu, 06 Jan 2022 13:52:30 +0100

Android learning notes Service

Service runs in the background of the program Service Service is a subclass of Context UI controls are thread unsafe. All UI operations must be in the main thread Service does not automatically start the thread. All codes run in the main thread by default. You should manually start the sub thread The IntentService opened in the service i ...

Posted by mrtechguy on Thu, 06 Jan 2022 12:21:58 +0100