First look at the effect picture (gif recording is a bit of a problem...Take a look at it:
1. Dynamic Height ViewPager with TabLayout
2. Let Header's TabLayout show or hide when sliding according to the sliding position
3. After sliding, let ScrollView slide to the specified position (ViewPager ...
Posted on Tue, 12 May 2020 12:24:49 -0400 by StefanRSA
Find out how many days the phone hasn't used all the apps
Get the package name of the APP that has been used for several days through the action "usage" access "permission, and then get all the user apps of the mobile phone. The remaining APP is the APP that has not been used for many days.
Posted on Sun, 10 May 2020 10:57:11 -0400 by pklover
Android QR code scanning (imitating wechat interface), according to Google zxing
QR code scanning is often used in Android project development. For example, Google has an open source library (address: https://github.com/zxing/zxing ), there are still a lot of contents in it. If you want to learn more about it, it's good. Of course, we have ...
Posted on Sat, 09 May 2020 11:47:55 -0400 by zampu
This article describes the communication between Service and Activity. It contains the following:
1. Basic Service Usage
2. Cross-process communication between Service and Activity via AIDL
3. Binder Connection Pool
4. Use Messenger for cross-process communication
5. Sample source address for this article
The arti ...
Posted on Fri, 08 May 2020 12:43:37 -0400 by rem
1. Fragmentation status and
1. Operation status
When a fragment is visible and her associated activity is running, the fragment is running.
2. Pause state
When one activity enters a pause state (because another activity that is not full of the screen is added to the top of the stack), the visible fragments associated with it enter a pause state ...
Posted on Fri, 08 May 2020 12:41:50 -0400 by tmann
Previous articles have analyzed the registration and invocation of HIDL service, and this article summarizes how to write the next HIDL service.
Abbreviated HAL file
First of all, you need to confirm the package name of the folder and interface, because this is related to the use of script to generate some code. Generally, it is placed in the h ...
Posted on Thu, 07 May 2020 07:08:55 -0400 by Ph0enix
Reading this article requires the foundation of Android attribute animation in the previous article, so that you can understand what to say next.
1. Understanding and use
PropertyValuesHolder is a method similar to ObjectAnimation, but with one target missing, it is the control to be executed. Look at the normal usage: a ...
Posted on Thu, 07 May 2020 05:47:51 -0400 by Dan06
In practical development, you may encounter other apk s packaged in your own application and installed together. Here are the steps:
First copy the test.apk to the main/assets directory and apply for read and write access to the memory card in the manifest file:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" ...
Posted on Wed, 06 May 2020 12:14:36 -0400 by solon
Open today's campus APP at 8 o'clock every morning to sign in and fill in the form.. Can't let people sleep well!!
In order to solve this headache, I think of using the Request Library in python to send requests
Lu Xun said: people are more and more lazy, more and more inventions! Creation comes from our life!
Don't say much, start buil ...
Posted on Tue, 05 May 2020 22:43:38 -0400 by felodiaz
Recently, there is a small need for a node progress bar in the project. When it is finished, I want to share it with the students who need it.
Real machine effect
Custom View Complete Code
Out-of-the-box~, notes have been detailed
* @description: Node Progress Bar
* @author: DMingO
* @date: 2020/4/15
public class PointProce ...
Posted on Tue, 05 May 2020 16:55:12 -0400 by egorig