Android/C++ Create Java object and call methods through JNI
£10-20 GBP
Cancelado
Publicado hace más de 9 años
£10-20 GBP
Pagado a la entrega
From C++ on Android I am trying to use the JNI to create an instance of a Java class and call methods on that class.
I have the JVM setup and a pointer to ANativeActivity.
For some reason the method FindClass is only finding Java system classes, so I am using JNI to create a classLoader to then load my own classes.
It is the [login to view URL] Android SDK I am trying to use. I need someone to provide an example of how to create a new [login to view URL] and call the "add" method of that instance.
Thank you.