Free translation -- an exclusive real-time translation artifact without advertising

preface Free translation is a real-time translation application integrating speech recognition, text translation and speech synthesis. It supports real-time dialogue translation and text translation between multiple languages. It is suitable for overseas travel, social communication, language learning and so on. With Huawei HMS Core ML Kit, ...

Posted by kylebuttress on Mon, 25 Apr 2022 09:46:22 +0300

Android WebSocket enables instant messaging

Recently done this function, share it. There is no doubt that the most important thing of Instant Messaging is Instant Messaging. There can be no obvious delay. It is not difficult to realize the function of IM. At present, many third parties, such as JMessage of Aurora, are relatively easy to implement. However, if the project has special requ ...

Posted by johno on Mon, 25 Apr 2022 07:02:35 +0300

android9.0Service start process (start mode)

The source code sorting of Service start stream is based on android 9.0. In the sorting process, I tested the advanced secrets of android. Later, I will keep updating my new understanding of this piece Apply process to AMS startService starts the first cross process communication, using the process from starting the process to requesting AMS ...

Posted by kslagdive on Sun, 24 Apr 2022 23:20:32 +0300

3D commodity display of HMS Core e-commerce solution

The traditional e-commerce commodity display adopts the form of combination of text and text, introduces the relevant parameters of the product, and matches with exquisite pictures to attract the attention of customers. However, due to color difference, size discrepancy and other reasons, graphic commodity display will make consumers have doubt ...

Posted by furotte on Sun, 24 Apr 2022 04:53:56 +0300

[Android] use deviceowner to configure mobile phone settings (Monkey automatic test, delete the status bar, set the input method, mute, APP automatic permission granting, Kiosk mode on)

[Android] use deviceowner to configure mobile phone settings (Monkey automatic test, delete status bar, mute, set input method, APP automatic permission granting, Kiosk mode on) Background: Monkey needs to be used for automatic testing, but monkey often pulls down the status bar during testing, resulting in a series of problems such as networ ...

Posted by ngu_tri on Sat, 23 Apr 2022 13:42:03 +0300

Kotlin coroutine Flow main operator

1. Main guide package //Synergetic package implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1" //It mainly imports viewModelScope and lifecycleScope scope. The operation process in the View interface can ensure the security of the interface implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1' implemen ...

Posted by artyfarty on Sat, 23 Apr 2022 06:36:20 +0300

Android HandlerThread summary

preface I used to be [simple use of Android Handler and Loop] This paper introduces the communication between sub threads and sub threads. One middle note is that we need to call Looper. in the child thread. Prepare() starts a message loop for a thread. By default, the newly born thread in Android does not start a message loop. (except for th ...

Posted by hazel999 on Thu, 21 Apr 2022 03:17:39 +0300

Basic concepts of embedded Linux partition

background Partition is a means of dividing the disk into regions. By saving the starting address, size and other information to the partition table, the disk can be divided into several regions for storing different contents. The use of partitions can not only make the system file entries clear, compatible with multiple file systems and moun ...

Posted by mlla2 on Wed, 20 Apr 2022 23:55:15 +0300

Kotlin | these things you should know about Lazy

Hi, nice to meet you! 👋🏻 This article mainly shares Kotlin Lazy. I hope that after reading this article, it can help you better understand and use it. introduction Every student who uses kotlin will more or less use Lazy, whose Chinese translation is called delayed initialization. The function is also relatively direct. If we have an ob ...

Posted by Shawazi on Wed, 20 Apr 2022 18:55:05 +0300

Android architecture component -- ViewModel usage and source code analysis

1, Introduction to ViewModel The emergence of ViewModel mainly has the following considerations: (1) When writing an application, if too much logic is written in the Activity and Fragment, the Activity will become very bloated, which is not conducive to the maintenance of the code and violates the layered idea of the software. According to th ...

Posted by dancer on Mon, 18 Apr 2022 14:33:57 +0300