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

How To Set File Path In Android Jni?

I'm building an Android app with C++ library, and I have a problem with sending file path. I ha… Read more How To Set File Path In Android Jni?

Jni Native Function Overload Signature

I am trying to use function overload when declaring JNI native functions. The Java method is : publ… Read more Jni Native Function Overload Signature

Gl.h & Glext.h Not Found

While trying to execute a program based on C++ in android via NDK platform, the compilation is givi… Read more Gl.h & Glext.h Not Found

How Is Android Permission Enforced?

If I call socket() function in JNI C methods, the application will still fail with a permission err… Read more How Is Android Permission Enforced?

How To Know The Jclass To Which A Jobject Belongs (jni)

I need to call the same native C method from my JNI code. This method receives a generic jobject ob… Read more How To Know The Jclass To Which A Jobject Belongs (jni)

Native Library Not Loaded From Cordova Apk

I'm making a cordova plugin that would be a simple wrapper for a .jar file and its two .so depe… Read more Native Library Not Loaded From Cordova Apk

Failed To Cross-compile Library From Windows To Android

I'm trying to cross-compile a Rust library to 4 Android targets (i386, x86_64, armv7, and aarch… Read more Failed To Cross-compile Library From Windows To Android

Is There Any Ble Api In Ndk

Can we use Ble hardware(Bluetooth low energy) direct from Ndk without any java interface. I am new … Read more Is There Any Ble Api In Ndk

Android Using Jni Without Static Variables

I created my own version of Android's MediaMetadataRetriever using the source code for MediaMet… Read more Android Using Jni Without Static Variables

Android Studio Import Already Compiled C++ Library

I made a C++ library compiled with Visual studio because I had to done it and now I must use it for… Read more Android Studio Import Already Compiled C++ Library

Include Shared Library .so In Android Studio

I extracted ffmpeg in ndk's source folder then compiled it there only for that I followed this:… Read more Include Shared Library .so In Android Studio

Android Ndk: Static Library Used Is Different Than Precompiled Library Specified

I build a C++ library manually using the Android SDK compiler. The result is libMyUtils.a. I'm … Read more Android Ndk: Static Library Used Is Different Than Precompiled Library Specified

Android, Generate Jni Header Files With Javah , Show Error That Can't Find Org.opencv.core.mat

I just have an annoying problem with jni when i compile the native method in java class with javah … Read more Android, Generate Jni Header Files With Javah , Show Error That Can't Find Org.opencv.core.mat

Setting Up Jni In Android Studio 3

I am using JNI in an Android Studio project I am working on. Currently, I have a C++ library that l… Read more Setting Up Jni In Android Studio 3

Cannot Encode To Utf-8 In Jni

I'm trying to return jstring encoded with UTF-8, but app crashes and JNI writes out error: JNI … Read more Cannot Encode To Utf-8 In Jni

Delphi Android Jmediascannerconnection

My app writes files into a folder on the internal (or external) SD card but those files are not see… Read more Delphi Android Jmediascannerconnection

No Jni_onload() Found And Vm Shutting Down

I am new to Android , I followed the instructions on the link http://marakana.com/forums/android/ex… Read more No Jni_onload() Found And Vm Shutting Down

Android Can't Load Local Libcrypto Unsatisfied Link Error

I need to run a newer version of openssl in my app than the one that comes in the OS. I was able to… Read more Android Can't Load Local Libcrypto Unsatisfied Link Error

How To Use The Jni To Change The Fields Of A Java Class

I am using a c native function to change the integer fields of a java class. Basically i want to se… Read more How To Use The Jni To Change The Fields Of A Java Class

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