Category "android-ndk"

Get architecture type (ABI) to C preprocessor for Android NDK

I'm trying to control my C code in an Android NDK project depending on the selected ABI library. As a start, I want the NDK library method to answer, with a st

NDK: how to build a lib, so that app can work on arm(s), x86, etc.?

I never used c++ for android and NDK before. When I use it for - say - image processing I want to be sure app will work on all devices with android 2.2 and high

Could not get traffic stats of tunnel interface in Android 10 & 11

Accessing /proc/net/dev is restricted from Android 10 (API level 29). And no luck for ifconfig as well. I tried to use TrafficStats, in which we have restrictio

Image Perspective Transform using Android OpenCV

I am making Android App which can make Perspective Transform Image. I want to do same thing like below code. I tried but I cant read C code. Please advise me!

Android: sound API (deterministic, low latency)

I'm reviewing all kinds of Android sound API and I'd like to know which one I should use. My goal is to get low latency audio or, at least, deterministic behavi

build android adb for arm processor

I want to use Android ADB tool on ARM platform. One of the commands in the build script is: arm-eabi-g++ -I build/libs/host/include/host -I build/libs/host/i