Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top