Android custom View advanced dynamic effects --- meteor shower dynamic effects | meteor shower album cover

Key points of text objectives Recently, I saw a motion effect of dome meteor from KuWo Music App. After reading it, I decided to try it myself. This article will focus on realizing the meteor shower effect through custom View, and you can see the advanced motion effect of meteor shower around the album picture. By completing this development, ...

Added by shefali on Mon, 04 Oct 2021 04:00:26 +0300

The Android background runs the white list to keep it alive gracefully

Living status We know that the Android system will kill the background process, and with the update of the system version, the intensity of killing the process is still increasing. The starting point of the system itself is good, because it can save memory, reduce power consumption and avoid some rogue behavior. However, for some applications ...

Added by eojlin on Thu, 30 Sep 2021 23:31:20 +0300

Android 11 SystemUI deletes the click-down animation of the status bar

one   Problem description During a call, the screen is on because the distance sensor is not completely covered, and the status bar is pulled down due to touching the status bar near the ear after the screen is on There are two ways to pull down the status bar: one is to drag the status bar, the other is to click the status bar twice i ...

Added by Bendude14 on Thu, 30 Sep 2021 05:36:45 +0300

If there is no network (on flight mode), will it prompt that the download is successful? Flutter cached_network_image image loading process analysis

preface Why did you play Toast to prompt that the download was successful without the network (on flight mode)? Subconsciously, the Toast prompt must be playing early. Just click the button and play Toast before downloading. Hurry to get your mobile phone to operate and verify it. There's really no network. After playing the download complet ...

Added by ronnimallouk on Wed, 29 Sep 2021 20:40:49 +0300

Android client and ORBSLAM2 in ROS environment

Compiling ORBSLAM-2 in ROS environment ROS installation (Ubuntu 18.04) ROS environment ready for installation Construction of ORB-SLAM2 algorithm environment Create ROS workspace: mkdir -p ~/catkin_ws/src cd ~/catkin_ws/ catkin_make mkdir ORB-SLAM2 Add environment variable: echo "source ~/catkin_ws/devel/setup.bash" >> ~/ ...

Added by suma237 on Tue, 28 Sep 2021 11:00:03 +0300

Android jetpack ---- use of livedata

LiveData introduction LivaData is a observable data container class. Specifically, LiveData can be understood as a data container, which packages the data and makes the data become an observer. When the data changes, the observer can be notified. Unlike regular observable classes, LiveData can perceive the life cycle of activities, fragments, ...

Added by jakep on Sun, 26 Sep 2021 20:27:30 +0300

m3u8.sqlite to mp4(txkt)

During the Mid Autumn Festival holiday, I wanted to have a good rest. My girlfriend said that the Tencent classroom courses downloaded from my mobile phone could be transferred to the computer because there was not enough space on my mobile phone. I thought it was not very simple.. Sure enough, it was not as simple as I thought. I found the vid ...

Added by phorman on Thu, 23 Sep 2021 05:50:07 +0300

Android Studio realizes the functions of simple dialing, SMS sending, camera calling and map opening (Android Studio learning notes 3)

1, Simple dialing Dialer Interface: Dial up with intent to realize the code: At this time, dialing error occurred: Because you don't have permission, you can't dial, so you need to get permission first. First set permissions in the configuration file: <uses-permission android:name="android.permission.CALL_PHONE"/> ...

Added by DefunctExodus on Wed, 22 Sep 2021 10:56:04 +0300

Android jetpack ----- ViewModel basic usage

1. Bridge between view and data model When the function of the page (Activity/Fragment) is relatively simple, we usually write all the business logic related to UI interaction and data acquisition in the page. However, in the case of complex page functions, the amount of code will change very much, which also violates the "single function ...

Added by rodrigocaldeira on Tue, 21 Sep 2021 21:59:03 +0300

Improve the priority of sending messages by Handler in Android practice

When reading the Android drawing source code, many articles analyzed that the execution of drawing message must take precedence over all messages. This is based on the principle of Handler's synchronous barrier mechanism and asynchronous message, but these mechanisms are not open to developers, and the relevant methods are also marked @ hide. ...

Added by bsbotto on Tue, 21 Sep 2021 05:22:33 +0300