Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Is there any way to convert IntPtr to AndroidJavaObject?

$
0
0
Most of the time, I create Java objects using AndroidJavaObject class but sometimes I also use AndroidJNI.New*() methods.
But there's a problem when I need to pass an IntPtr of an object created by AndroidJNI.New*() to my AndroidJavaObjects' Call() methods.

If there's a way to convert an IntPtr to an AndroidJavaObject object, please let me know.

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>