Skip to content Skip to sidebar Skip to footer
Showing posts with the label Java Native Interface

How To Use C Function On Android With Ndk

I want to use function written in C in an Android app. The function is taken from here. I've le… Read more How To Use C Function On Android With Ndk

Get Java Array From C++ Via Jni

So, I want to obtain resultNative from c++ but resultNative is in Java. can anybody please show me… Read more Get Java Array From C++ Via Jni

Access To Raw Data In Argb_8888 Android Bitmap

I am trying to access the raw data of a Bitmap in ARGB_8888 format on Android, using the copyPixels… Read more Access To Raw Data In Argb_8888 Android Bitmap

Can We Access "sysfs Entry" In Our Android Application Directly?

I know that we are using jni as an interface with driver which allows android application framework… Read more Can We Access "sysfs Entry" In Our Android Application Directly?

How To Include A Android Native Extension (.so) Into An Air Native Extension (.ane)?

I'm currently trying to find a solution to have an AIR native extension including a C - library… Read more How To Include A Android Native Extension (.so) Into An Air Native Extension (.ane)?

Unsatisfiedlinkerror: ... :findlibrary Returned Null

03-01 14:00:53.556: E/AndroidRuntime(27208): java.lang.UnsatisfiedLinkError: Couldn't load exam… Read more Unsatisfiedlinkerror: ... :findlibrary Returned Null

Jni Get Asset Filepath

I am trying to add two .xml files with initialisation data to the APK of my Android App. In the JNI… Read more Jni Get Asset Filepath

Android Native Library (.so) - Unsatisfied Link Error

I have recently created and published an Android App bundle with compiled native libraries for all … Read more Android Native Library (.so) - Unsatisfied Link Error

Stop Java Thread Which Call Jni Function

Here I want to stop my thread or kill my thread which is created on Java layer, and this thread is … Read more Stop Java Thread Which Call Jni Function

How To Print Log Messages With In Android Framework

I am trying to print log messages within core Android framework files. For example, I tried logging… Read more How To Print Log Messages With In Android Framework

Java.lang.unsatisfiedlinkerror: Dlopen Failed: Library "/users/..." Not Found

I want to add another lib into android-ndk hello-libs example. In CMakeLists.txt, I add: # this is … Read more Java.lang.unsatisfiedlinkerror: Dlopen Failed: Library "/users/..." Not Found

Android Jni Error

I'm developping a cordova / phonegap android plugin to list wifi around the device. Into my pl… Read more Android Jni Error

Parallel Processing With Camera2 Api Android And Opencvcamera2

I am developing an app where I want to process each frame from the camera and apply some Image proc… Read more Parallel Processing With Camera2 Api Android And Opencvcamera2

How To Parse A Zipped File Completely From Ram?

Background I need to parse some zip files of various types (getting some inner files content for on… Read more How To Parse A Zipped File Completely From Ram?

How Do I Use Jni With Aar Library?

I am creating an Android library (.aar file) and I need to use JNI. (I am very well aware of Google… Read more How Do I Use Jni With Aar Library?

Call Java Function From C++ Method

I am facing trouble calling a Java function from C++ method. The following is what I am doing My ja… Read more Call Java Function From C++ Method

Moving Native Libraries From Android App To System Lib And Accessing It From App

I have compiled one native code with android ndk. Now instead of keeping that library as part of .a… Read more Moving Native Libraries From Android App To System Lib And Accessing It From App

Error: Class Org.opencv.core.mat Could Not Be Found

When i generating header file with JNI using 'javah' it shows Error: Class org.opencv.core.… Read more Error: Class Org.opencv.core.mat Could Not Be Found

Jni: Reading A Text File In C Code And Returning To Sdk

Im trying to create an android app to read text from a text file using NDK .My C code reads a strin… Read more Jni: Reading A Text File In C Code And Returning To Sdk

Android & Jni_onload Lead To A Crash On Device

I am pretty new to working with JNI on Android, and I've been writing an app that requires the … Read more Android & Jni_onload Lead To A Crash On Device