Call JAVA function from JAVASCRIPT?

Call JAVA function from JAVASCRIPT?
0

#1

I made game in cocos creator and builded it for Android Studio,
I want to call Java functions from in game javascript like If I installed Admob and want to trigger ads from in game events then how I can call Admob Java functions from in game javascript code?


#2

Easier is to use SDKBOX.
It has many plugins and Admob also.


#3

There are lot’s of SDK’s that are not included in SDKBOX like Apps Flyer SDK.Only solution is that I integrate it with pure JAVA and then call it’s API from in game which is written in JavaScript

I just want to know a way to call call JAVA functions from JavaScript, rest of things I can manage…


#4

Here I posted