Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top