OpenUrl() stopps my app

Monkey Targets Forums/Android/OpenUrl() stopps my app

Midimaster(Posted 2013) [#1]
I thought it would be a good idea to show the user a html page during my game is loading its files. So now I open a www htm page with a OpenUrl() command in OnCreate().

The app starts, the hmtl pages is displayed, look like working perfect, but the app does not continue loading the datas, but waits until the user has finished reading the browser window.

Is there a other way to display www...html content during loading time?


AdamRedwoods(Posted 2013) [#2]
would need native function to create a new webview and call the intent.


Midimaster(Posted 2013) [#3]
Is there any tutorial about integrating native java functions into monkey?

At the moment I did only add some very simple java code pieces. But I do not understand how to use the complete android sdk in general.

It would be very helpful, if somebody shows a way to use this big pool.

I know there are several native code pieces where I can learn from. But I think we need a fundamental tutorial.


Fred(Posted 2013) [#4]
I'm not sure but you may try #MOJO_AUTO_SUSPEND_ENABLED=False