How to call native (Android) function from PlayN?
Frage
Is it possible to call "native" platform-specific Java code from PlayN game? For example launch an external (Android and iOS) activity as response to button click? Can you link me to some demo how to do it?
Lösung
Yes it's possible, you need to make an interface to call your native code; we did this to implement ads on our game, Admob Support in PlayN you can check how we did it and maybe it can help you.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow