android studio configuration ffmpeg
1) copy the compiled so library to the libs folder, and the header file in include to the libs folder.
2) add the following code to build.gradle
defaultConfig {
applicationId "com.houde.ffmpeg.test"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrument ...
Posted by gozbay.com on Wed, 13 Nov 2019 12:25:44 -0800
Development efficiency optimization of automatic construction system Gradle Part 1
Alibaba P7 mobile Internet architect advanced video (in daily update) for free, please click: https://space.bilibili.com/474380680
This article will introduce the automatic build system Gradle as follows:
The relationship between gradle and android gradle plug-in
Basic use of the Gradle Transform API
I. The relationship between gradle and and ...
Posted by bdurham on Wed, 13 Nov 2019 02:42:54 -0800
Learning of web service request based on ksoap2 in Android
[learning stage]
WebService network request?
In fact, this is the first time I met this need because some ERP related businesses need such a request mode.
Start learning WebService
① Baidu search, of course, found a learning blog here https://blog.csdn.net/swjtugiser/article/details/76840353
Use the ksoap2 framework to request and dow ...
Posted by will_1990 on Tue, 12 Nov 2019 12:02:24 -0800
[Android] Macbook Pro 10.14 (MacOS mobile) compiling Android 9.0 (aosp master) process record
Remember the process of compiling Android source code
Experimental environment
MacOS Mojave 10.14; RAM 16G
SSD hard disk 960G
Access to google's Network Environment
Step 1: prepare the environment
Please refer to the official website: https://source.android.com/setup/build/initializing
Prepare disk
Disk image mode (25 ...
Posted by saurabhdutta on Tue, 12 Nov 2019 08:48:13 -0800
Wi Fi module Demo (novice tutorial) graphic explanation module tutorial
The first step is to create a Native App application in the development console and prepare for adding modules:
Follow the steps below
After entering points and creating points
It is better to click the Add button to return to see if you have added the required module. After adding the module, click the custom
Then the cloud operation is co ...
Posted by davestevens_uk on Mon, 11 Nov 2019 13:30:30 -0800
Bluetooth development: the background mode of Android 8.1 and above fails to turn on scanning
In Android 8.1 and above, there is no problem scanning Bluetooth under normal conditions, but when the App is in the background, the scanning method cannot be turned on and the following prompt is provided
BtGatt.ScanManager: Cannot start unfiltered scan in screen-off. This scan will be resumed later: 9
This is becaus ...
Posted by rigbyae on Mon, 11 Nov 2019 12:30:39 -0800
Android 8.1 source code modification: insert SIM card to enable voltage function by default
Preface
For the public telephone product, after inserting the SIM card, it is required to turn on the voltage function automatically, plug and play, and leave after using the card
Realization
Code corresponding to the first step switch
Through printing logs and global search, the source location is vendor / MediaTek / proprietary / packages / s ...
Posted by henkealf on Mon, 11 Nov 2019 08:57:30 -0800
[Android 9.0] can't open usb uvc camera
Background: the development board of Android 9.0 system can access the binocular camera, only one camera can be opened, the other cannot be opened
Key log:
From the view of serial port printing, usb driver correctly recognizes usb hub and two usb camera devices
[ 4526.512542] usb 2-1: new high-speed USB device number 8 using ehci-platform
& ...
Posted by jcanker on Sun, 10 Nov 2019 12:43:40 -0800
Builder mode [Java design mode]
Builder mode
android
Builder mode (also called generator design mode):
When the internal data of a class is too complex (usually the class responsible for holding the data, such as VO, PO, Entity...), to create it, you may need to understand the internal structure of the class, and how these things are organized and assembl ...
Posted by suomynonA on Sun, 10 Nov 2019 12:09:38 -0800
Android framework: using Imageloader and NetWorkImageView to load pictures
First, we import this framework into the project:
implementation 'com.mcxiaoke.volley:library:1.0.19'
Add network permissions to the Android manifest file:
<uses-permission android:name="android.permission.INTERNET"/>
Here is our homepage layout:In this layout, we have made a button for all the functions of the Volley framewor ...
Posted by ams53 on Sat, 09 Nov 2019 09:47:42 -0800