I would like to process a logic that determines the security level of the device.
That logic has been written in C++, And It works fairly well.I'm returning either int or jstring.
I have a java class that communicates with my Native code.
I don't want to get the response through my java method return value for security reasons. Because there are some hooking tools, With that one can change the return type and parameter passed to any java method.
My objective is to store the result in memory at C++ and the same has to be accessed at java code.