8 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for nitin1

Hi, I have one function (in a library I can't change the code) which takes a key and returns a Object. This code is written in java. I am calling this function from cpp code. I am accepting the result as jobject. 1. Added key as "key1" & value as …

Member Avatar for JamesCherrill
0
2K
Member Avatar for nitin1

Hi, I have been working on JNI. I have one doubt. When I call any native method from android activity (Java code), then we get jclass object from jobject instance we get in the native method as a parameter. Why do we need it actually? Here is a snippet from …

0
178
Member Avatar for 9tontruck

I strongly think this is a bug on Eclipse. The problem I have is explained in the image I attached so please take a look. I think I did the all settings correctly. ${NDKROOT}/platforms/android-9/arch-arm/usr/include in Paths and Symbols GNU C/C++ But I keep having "No such file" error when I …

Member Avatar for peter_budo
0
149
Member Avatar for 9tontruck

Hi, I am implementing an Android app using my old C++ classes. Everything looks okay but I have a wierd message which is : Invalid arguments ' Candidates are: void * malloc(?) ' The malloc code is written in a cpp file and <stdlib.h> is included properly but compiler does …

Member Avatar for rubberman
0
128
Member Avatar for llimewater

I am trying to connect objective c application to Java.. I am relatively new to both.. Basically I would like Java application front-end which can call the objective - c app. I was thinking about first creating the obj c library in xcode and than wrap it in java somehow …

Member Avatar for Killer_Typo
0
175
Member Avatar for stid

Hi, I obtain the next error when I try debug the code and it is stoped. [QUOTE]ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2 JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820][/QUOTE] Can you help me, please? Thank you very much cordial greetings. stid

0
126
Member Avatar for deepak.marur

Hi all, I've a curious problem with jni invocation. The explanation follows.. I have two pieces of code...a test stub, which is basically a stand alone java program and another the same code integrated into a component (the main function replaced by a static function). The code makes a jni …

0
83
Member Avatar for shen747

Hi all, I'm having trouble compiling a C++ project,which was originally written using the VC++, in Dev-C++. The problem is identifying the compiler errors that are incurred by the Min-Gw compiler(the default compiler that is shipped with Dev-C++) I've currently have converted the project(which is an opensource example of JNI) …

Member Avatar for Salem
0
170

The End.