Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. For Teams
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
9,802 questions
Filter by
Sorted by
Tagged with
3votes
0answers
104views

I have a Java application that calls a native function. That native function has a loop and in each iteration launches 10 threads and waits for them to complete. Each thread just does a number of ...
0votes
0answers
96views

I've recently come across FFM as an alternative to JNI for Java-to-C communication. However, I'm struggling with it.Calling C from Java seems straightforward (downcalling). However, calling Java ...
6votes
0answers
451views

In System.c, the JVM function corresponding to Java’s System.currentTimeMillis() is registered using RegisterNatives.In contrast, System.identityHashCode(Object) calls a JVM function directly based ...
0votes
0answers
61views

gRPC service consistently fails with KVS Producer JNI “producer stream creation time out StatusCode: 0xf” about ~15s after “Creating Kinesis Video stream”.REST service (same repo, same JNI .so, same ...
3votes
1answer
110views

I have an old Java JAR file that depends on .so files (shared object libraries).I understand .so files are native libraries (written in C/C++), and the JAR uses JNI (Java Native Interface) or JNA to ...
0votes
0answers
69views

I'm trying to add the wasmtime c-api library to my app. But I'm getting the following error at runtime:java.lang.UnsatisfiedLinkError: dlopen failed: library "/Users/tufekoi/Repos/...
0votes
0answers
21views

I am trying to integrate GStreamer via JNI into an existing Android Studio project.My Android.mk file looks like this:LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := rtsp-...
0votes
0answers
65views

I'm trying to use Cronet on Android directly from my JNI / C++ layer, not through the Java API.I already have the cronet.so (from Play Services / build output).What I'm missing are the headers (like ...
2votes
2answers
425views

I have a very large Android project with hundreds of 3rd party libraries.Some of those libraries have native .so libs inside then. I can see all .so files using Android Studio -> Analyze Apk... ...
0votes
0answers
82views

I have very little experience with c++ or java and I want to make an Android app with Unreal Engine 5.3, which can either scan or be opened by scanning a QR Code and do something with the Information ...
0votes
0answers
135views

Edit to describe the solution:During development, I was making changes to my path. If running java in a Command Prompt window, then that window must be closed and a new one opened to reflect changes ...
0votes
0answers
102views

I'm trying to call the function through the environment variable env, namely env->FindClass("android/os/BatteryManager"), but eventually the errorF/libc (27883): Fatal signal 11 (...
3votes
3answers
159views

I'm trying to handle EINTR error from POSIX connect call. I'm running on OSX this connect code:JNIEXPORT jint JNICALL Java_io_questdb_network_Net_connect (JNIEnv *e, jclass cl, jint fd, jlong ...
2votes
1answer
136views

When working with JNI, can the native side obtain an _Atomic int32_t* given a Java AtomicInteger reference, and run C atomic functions on it (e.g. atomic_fetch_add)?We could call Java's methods (e.g. ...
0votes
0answers
62views

I use the following statement in unidbg to resolve a class from within an apk package:SampleClass = vm.resolveClass("path/to/class");Then, I use the SampleClass.callStaticJniMethodObject() ...

153050per page
1
2345
654

Hot Network Questions

more hot questions
Newest java-native-interface questions feed

[8]ページ先頭

©2009-2025 Movatter.jp