FFmpeg porting Android platform
Development environment: FFmpge 3.3.9, JDK 1.8, Android Studio 3.5, NDK 14b, Android SDK, win10 64 bit system
1, Download FFmpeg (3.3.9)
1. Download address
http://www.ffmpeg.org/download.html#releases%20%EF%BC%89
2. Right click Download gzip tarball, copy the link, log in to the server and execute the ...
Posted by Magneto on Tue, 25 Feb 2020 07:16:58 -0800
ByRecyclerView: true universal split line (linear / grid / waterfall flow)
Preface
I've basically searched all the articles on the Internet that set the separator line through itemdecorated, but they are not satisfactory. Most of them are only applicable to some situations, such as setting only for linear layout, setting only color, setting drawable, not removing the separator line of HeaderView, configuration trouble ...
Posted by Nixon on Tue, 25 Feb 2020 04:15:46 -0800
Enumeration classes and annotations
Enumeration classes and annotations
1, Use of enumeration classes
2, How to define enumeration class
Method 1: before jdk5.0, customize enumeration class
Mode 2: jdk5.0, enum keyword can be used to define enumeration class
3, Common methods in Enum class:
4, Implementation of the interface using en ...
Posted by nttaylor on Mon, 24 Feb 2020 03:11:21 -0800
Anti war -- wechat applet
Wechat applet
brief introduction
Wechat applet is a new way to connect users and services. It can be easily obtained and spread in wechat, and has an excellent use experience.
Advantages and disadvantages
Advantage
1. It's really convenient for users to use. When they want to use it, they can turn ...
Posted by fireant on Mon, 24 Feb 2020 01:42:47 -0800
ByRecyclerView: true universal split line (linear / grid / waterfall flow)
Preface
I've basically searched all the articles on the Internet that set the separator line through itemdecorated, but they are not satisfactory. Most of them are only applicable to some situations, such as setting only for linear layout, setting only color, setting drawable, not removing the separat ...
Posted by thinkgfx on Sat, 22 Feb 2020 22:35:37 -0800
Android print execution time of all methods of main thread
Preface:
We know that Android carton is mainly caused by time-consuming operations in the main thread, so how can we easily and quickly get the execution time of all time-consuming methods in the main thread? Today we will introduce two plans
Scheme 1: use the special keyword of logging.print of lo ...
Posted by askbapi on Sat, 22 Feb 2020 01:57:41 -0800
2020.2.21Menu and PopupWindow
menu menus and windows
System menu OptionsMenu
Code display
Effect display
Matters needing attention
Context menucontextmenu
Code display
Effect display
Matters needing attention
Pop-up Menu
Code display
Effect display
PopupWindow window
Code display
Effect display
Matters needing attention
...
Posted by LanHorizon on Fri, 21 Feb 2020 07:15:11 -0800
Detailed use of Android official architecture component Navigation
Preface
Some time ago, when I was doing project development, I encountered several small problems in Fragment management. I always felt that the encapsulated Fragment manager was not elegant at this stage. This has become the Navigation library that I am determined to learn from Jetpack, which was lau ...
Posted by corruption on Thu, 20 Feb 2020 23:04:06 -0800
How to set space between listView projects in Android
I try to use marginBottom on listView to make room between listView items, but they are still attached together.
Is it possible if so, is there a specific way to do it?
My code is as follows
<LinearLayout
android:id="@+id/alarm_occurences"
android:layout_width="fill_parent"
android:orientation="vertical"
android:layout_height="fill ...
Posted by Majes on Thu, 20 Feb 2020 02:29:04 -0800
Interaction between Android Studio and Unity -- loading the project exported by Unity into Android Studio
Version information
Android Studio: (Android Studio-Help-About)
Unity: (Unity-Help-About Unity)
Note:
Latest version of China Enhanced Edition (time: 2020-02-20)
Install Android module
1, Operations in Unity
1. Create a Unity project and prepare a Unity game.
Recommended tutorials: Introduction ...
Posted by dprichard on Wed, 19 Feb 2020 22:47:45 -0800