Question

Is it possible to display a HTML page in a PlayN game?

More generally, is it possible to add a plugin (native iOS code) to an iOS build of a PlayN project? (child browser, Accelerometer,..), same as the phonegap plugins ?

Thank you for your help.

Was it helpful?

Solution

In theory yes. You have to define and create an API in playn and them you have to code the implementation for each platform.

The implementation in android should be easy, since you just use java for android, but for ios, you have to consider that playn uses MonoTouch to compile from java to native, I think they support WebView so you can go with it. Obviously the simplest implementation is the html5 one through gwt.

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