Use of Android Jetpack Room

The official website link uses Room to save data to the local database | Android Developers | Android Developers https://developer.android.google.cn/training/data-storage/room?hl=zh_cn Room is used to process the database. It provides an abstraction layer on SQLite to make full use of the powerful functions of SQLite and smoothly access the da ...

Posted by bubblybabs on Mon, 03 Jan 2022 17:00:12 +0100

[AVD] FFmpeg + MediaCodec realizes Android hardware decoding, with a big hole in the middle

Recently, when doing mobile audio and video coding and decoding, the first thing to realize is the decoding function of mobile video. The pure FFmpeg method can also be implemented on the mobile terminal, but the efficiency is indeed slower. The 1080p video is OK, but up to 2k and 4k, the decoding speed (decoding a frame at the speed visible to ...

Posted by xwishmasterx on Mon, 03 Jan 2022 16:25:08 +0100

Let Flutter transform your dialog! (Attach,Dialog,Loading,Toast)

prefaceQ: What's the most smelly thing you've ever smelled in your life?A: My rotten dream.Brother Meng!!! I'm here again!This time, I can confidently say to you: I finally brought you a pub package that can really help you solve many pit ratio scenes!Put the previous shuttle_ smart_ Dialog, on the basis of maintaining the stability of the api, ...

Posted by HokieTracks on Mon, 03 Jan 2022 16:11:15 +0100

APP privacy policy transformation

preface Recently, due to the tightening of policies, APP is now required to obtain private information with the consent of users. However, a lot of private information is obtained by a third-party SDK. The SDK initialization is generally in the application. Due to the large number of maintenance items, it is likely to cause potential problems ...

Posted by burgessm on Mon, 03 Jan 2022 15:27:44 +0100

Chapter 6 LitePal of Data Persistence technology

Novice diary, I hope Xiaobai, like me, can get some harvest after reading it, and I hope someone can help me find problems! Can help me more in-depth principle, I am pure Xiaobai! catalogue 1, About LitePal 1.1 what is LitePal? 1.2 what's the use of LitePal? 2, Configure LitePal to the current project 2.1 why? 2.2 how to configure the co ...

Posted by bmyster on Mon, 03 Jan 2022 12:12:55 +0100

[Java] String is immutable, is that true? Deep Analysis from Principle

People who learn Java get more or less the message that String is immutable. So is that true? Pre-knowledge of this article: Reflection, jmm. 1. How to change a String Open the source of the String and you can see that the data of the String object is stored in its value array. In the early version of Java, this is an array of type char[], r ...

Posted by calevans on Mon, 03 Jan 2022 08:12:23 +0100

Analysis and solution of two problems about Toast

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface I really can't write a preface, so I go straight to the point Tip: This article is based on Android API 25 1, WindowManager BadTokenException Toast has a chance to throw this ...

Posted by fqservers on Mon, 03 Jan 2022 08:09:32 +0100

Adnroid [SQLite database storage]

SQLite database storage Write in front SQLite is a lightweight relational database. Its operation speed is very fast and occupies very few resources. It usually only needs a few hundred K of memory, so it is especially suitable for mobile devices. SQLite not only supports the standard SQL syntax, but also follows the ACID transaction of th ...

Posted by orionblue on Mon, 03 Jan 2022 02:08:01 +0100

Story collection Android Handler

catalogue preface Story introduction The story begins         1. Role assignment         2. Mailing process         3. Distribution process         4. Receiving follow-up summary preface Today, we are directly guided by the idea of telling stories to see the source code of Handler. We hope to strengthen everyone's understanding. W ...

Posted by mnuzum on Sun, 02 Jan 2022 22:03:23 +0100

Android cross process communication Binder workflow

Android cross process communication Binder workflow This article only describes Binder's workflow, not Binder's principle First, what is AIDL AIDL is the Android Interface definition language AIDL and Binder action AIDL is based on the Binder mechanism. Using AIDL, the SDK can automatically generate the corresponding Binder classes for us. ...

Posted by Teck on Sun, 02 Jan 2022 21:51:05 +0100