Bert This thread was from before C2 supported appMobi. We were then exporting our games as a html5 web site, and copying it over an appMobi new project file. The script we were referring to was a script that the appMobi XDK would prompt you to insert into your html.
This is the script we were referring to:
<!-- the line below is required for access to the appMobi JS library -->
<script type="text/javascript" charset="utf-8" src="http://localhost:58888/_appMobi/appmobi.js"></script>
<script type="text/javascript" language="javascript">
// This event handler is fired once the AppMobi libraries are ready
function onDeviceReady() {
//use AppMobi viewport to handle device resolution differences if you want
//AppMobi.display.useViewport(768,1024);
//hide splash screen now that our app is ready to run
AppMobi.device.hideSplashScreen();
}
//initial event handler to detect when appMobi is ready to roll
document.addEventListener("appMobi.device.ready",onDeviceReady,false);
</script>
sunnysonic I haven't had time to try C2's new appMobi export yet but if your getting a blank screen with appMobi, and phonegap something must be wrong then. What is the file size of your game? I have heard some people are having problems with there games on mobile devises if there file sizes are to large.
Here is a post I made a few days ago also read Ashley's post right below mine:
http://www.scirra.com/forum/appmobi-or-phonegap_topic48389_post305398.html?KW=#305398
That is all you should have to do to get it working. There is no need to remove scripts anymore.