android-ndk
Is it possible to set affinity with sched_setaffinity in Android?
Is it possible to set CPU affinity in native C code compiled with the Android NDK? Since the system is using a Linux kern开发者_如何学运维el, it should be possible to use the sched_setaffinity/sched_g[详细]
2023-04-06 00:04 分类:问答Android NDK doesn't include ltdl
I\'m trying to build a linux library for Android, but it seems that libtool for the android gcc toolchain doesn\'t include ltdl, the dynamic loader.Is there a system-related reason for this, or is it[详细]
2023-04-05 16:04 分类:问答Per-file CPPFLAGS in Android.mk
I\'m working on an Android.mk file in which, for a single module, one of the files needs different CPPFLAGS; namely, it needs -frtti enabled, while others need the Android default of -fno-rtti.[详细]
2023-04-05 15:16 分类:问答how to create separate class for addOnGesturePerformedListener
hai all this is my code private GestureLibrary gLib; private static final String TAG = \"com.hascode.android.gesture\";[详细]
2023-04-05 12:51 分类:问答Android app pauses during sleep lock, but not its running native threads?
I am having a problem with the sleep lock in my application. I am using a native thread which is using sockets to retrieve RTP packets who contains audio data. This audio data is then sent to the and[详细]
2023-04-05 09:01 分类:问答Failed to link libstlport_shared, even though it's present...?
I\'m just about ready to start banging my head off the wall here. I\'ve read every SO thread I can find about this issue, read every single google result on the issue and can\'t find squat. I\'m build[详细]
2023-04-05 08:47 分类:问答How to collect native stacktrace without a scary READ_LOGS permission up front?
I have an application which is mostly native code written in C: Simon Tatham\'s Puzzles. When I catch a crash (with a signal handler), a Java backtrace will only tell me the vague area of the problem:[详细]
2023-04-05 08:29 分类:问答mupdf for android: ndk-build problem (error: redefinition of typedef....)
I am following the necessary steps to have MuPDF for Android. MuPDF is built on my system, I am able to exploit it with C++, now trying with Android. All steps in the README successfully followed but[详细]
2023-04-05 07:11 分类:问答Referencing .so files from an Android library
I\'ve built OpenSSL into an Android Library that I would like to reference from another Android project.[详细]
2023-04-05 04:44 分类:问答android kernel libm pow(float,float) implementation
I am testing corner cases on the pow call(#include <math.h>), specifically pow(-1, Inf). On my desktop (Ubuntu) I get the result 1.0, this is in accordance with the 2008 IE开发者_C百科EE floati[详细]
2023-04-05 04:17 分类:问答