I am writing an jni application in which i use java objects and these objects are created at run time,i don't know the identifiers in it. how can i access them from the native method?

David Gommeren

Assuming you create these objects from within your Java code, you'll have to get references to them in the same way you would do from within Java, ie. a variable referencing the object. Or, if you multiple instances, an array for example. If you know where that variable or array is stored, you can use that to get the references to your objects.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact