سؤال

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