So I have this .jar file, which will call a UI window that have in App payment function for Android.
Inside .jar file, it has Two Static functions that I need to call. One is going to call the activities using Intent which initiate the variables, creating the layout and the other will be calling the UI Window that has the function.
I have already put the jar file inside the assets/android/plugins folder and in Unity Script, I write the code like this:
Accessing android library function using unity
Inside .jar file, it has Two Static functions that I need to call. One is going to call the activities using Intent which initiate the variables, creating the layout and the other will be calling the UI Window that has the function.
I have already put the jar file inside the assets/android/plugins folder and in Unity Script, I write the code like this:
Code (CSharp):
- ...