Translation: QT, THE BETTER ANDROID NDK Click Open Link
Points: How to call so library written by qt in Android Studio and how to load relevant qt dynamic library at the same time.
I. QT for Android Compiler so Library
Create Qt Widgets Application - > Build Suite Select Android, Delete the original Widget and main; (The original requ ...
Posted on Tue, 12 Feb 2019 14:57:17 -0800 by crinkle
Recently, when porting p2p libraries from network cameras to android platforms, jni is needed. Recently, when calling java functions in c thread, jni is needed.
There is a problem. If you call a java function in the same thread, it's okay, but when you call a java function in a c thread, you run.
Ultimately, let's paste the process code of c ...
Posted on Tue, 12 Feb 2019 14:03:18 -0800 by ahasanat
Personal development process encountered this bug, found some information, netizens said that from the following aspects, check their own code
The image added in RemoteView is too big, and the exception will be reported when it exceeds 40K.
Intent will also report this error if it delivers too much data over 1M
There are too many FileDescri ...
Posted on Tue, 12 Feb 2019 05:42:18 -0800 by lizzardnub
Create new Project in Android Studio
1 Gradle Scrips configuration
2 Kotlin code
3 test Demo
Android Studio 3.0 Canvas version acquisition, because Android Studio 3.0 can be installed without Kotlin plug-ins, has been a good integration of Kotlin plug-ins.
Posted on Mon, 11 Feb 2019 21:03:19 -0800 by JacobYaYa
InflateException: Bin file line #19:Error inflating class MyTextView
A Brief Introduction to Errors
In order to achieve the horse-running effect of TextView, I wrote a class of MyTextView that inherited TextView. As a result, an error occurred when the XML page of layout was called.
The class structure diagram is as follows:
The error message ...
Posted on Mon, 11 Feb 2019 14:06:18 -0800 by prinzcy
First, create libs directory in src peer directory. so copy to this directory as shown in the figure
Then configure the lib path at the app level build.gradle if
The complete code is as follows:
apply plugin: 'com.android.application'
Posted on Mon, 11 Feb 2019 08:51:18 -0800 by turdferguson
The page in ViewPager is GridView. ViewPager is nested in ScrollView. The height of ViewPager set to MATCH_PARENT or WRAP_CONTENT is not fully displayed.
Set the height of ViewPager to a fixed value.
This can be displayed, but the fixed value is not well controlled, u ...
Posted on Mon, 11 Feb 2019 04:30:18 -0800 by AXiSS
For reprinting, please indicate the source: http://blog.csdn.net/crazy1235/article/details/70195049
java.lang.IllegalArgumentException: View=DecorView@f4179d7[title] not attached to window manager
at android.view.WindowManagerGlobal.removeView(Wi ...
Posted on Sun, 10 Feb 2019 19:39:17 -0800 by Asnom
The Anroid Vsync signal is used to inform APP to render, which is divided into two kinds of hardware Vsync signal and software Vsync signal. Let's not go into details here, but how to get Vsync signal through C++?
First, look at the interface provided by the upper layer.
Posted on Sun, 10 Feb 2019 19:03:17 -0800 by dancing dragon
When you encounter this problem, you will see that it is probably a question of authority, and then go directly to Baidu first.
https://stackoverflow.com/questions/29253434/android-dexclassloader-error-optimized-data-directory-not-owned-by-current Multi user
Android DexClassLoader error,'optimized data directory.. Not owned by current user'f ...
Posted on Sun, 10 Feb 2019 13:39:17 -0800 by bonkaz