1. Modify the project to be imported into Mudle to conform to the Library format
Modify the first line of code in the build.gradle file in this project
apply plugin: 'com.android.application'
apply plugin: 'com.android.library'
Then, modify the configuration information in the androidmanifest.xml file. This is mainl ...
Posted on Sun, 03 May 2020 04:37:42 -0400 by sebastiaandraaisma
1 use of NDK
1.1 compile. so with Android.mk
step 1: create AS project MyDNK, create a new JNIS class and write the native method helloJNI(), AS shown in the figure:
step 2: enter the java folder and use the command "javah com.lzp.myndk.JNIS" to generate the header file:
step 3: write the test.c file to ...
Posted on Sat, 02 May 2020 22:10:08 -0400 by c_coder
How to see Chinese method notes
String link = "<a href=\"" + subInfo.getOnlineLink() + "\">" + subInfo.getName() + "</a>";
Posted on Sat, 02 May 2020 21:42:23 -0400 by djopie
According to the demand, it is necessary to input the digital text in the format of mobile phone number, which can be automatically separated into beautiful format with space according to the mobile phone number when input. After clicking, it can verify whether the mobile phone number is a mobile phone number
2, Code impleme ...
Posted on Sat, 02 May 2020 18:34:59 -0400 by Gayathri
Mpandroid chart tutorial
For reprint, please mark the original article address: http://blog.csdn.net/lsyz0021/article/details/79132045
Mpaandroidchart is very powerful and has many users. Today, I will take LineChart as an example to explain its use. This article is divided into two parts, one is the basic use, the other is the use of Mark ...
Posted on Sat, 02 May 2020 17:44:34 -0400 by tomsasse
Recycle has a header layout that slides with the list
You can reload the list data after clicking the header layout
As the head layout disappears, leave a clickable layout (this layout is in the head layout)
The effect is similar to the following figure:
Taobao's product list, as we slide down, will only le ...
Posted on Sat, 02 May 2020 14:34:38 -0400 by coderage
Android 8.0 introduced Picture in Picture (Picture in Picture function), which is currently only supported on systems above 8.0. Compared with IOS,IOS's Picture in Picture mode is a multi task function added by apple in iOS 9. Let's take a look at the effect:
I believe that many people have already experienced ios mobile app. I'm glad that G ...
Posted on Sat, 02 May 2020 13:26:33 -0400 by cockney
Play Android startup animation in browser
Recently, I made a web page to play the Android startup animation
The file structure of Android boot animation is usually as follows
The content of desc.txt is usually as follows
1080 1920 30
c 1 0 pa ...
Posted on Sat, 02 May 2020 11:39:04 -0400 by sgtbash
In this article, I just finished my postgraduate study and felt cold. I'll review and share what I've written before. Because Android's own video view and other controls support less video playback formats, so I use the Vitamio framework to quickly build a video playback function that can play more f ...
Posted on Sat, 02 May 2020 10:56:02 -0400 by tores
A tutorial of using the Realm database (1): Realm configuration and Stetho configuration
If the Realm configuration has been completed, you should add, delete, modify and query, as shown in the above figure. Consider the step-by-step steps here, and introduce the function process of "add, query, modify, delete, ...
Posted on Sat, 02 May 2020 09:48:40 -0400 by kovudalion