Question about AppMobi

0 favourites
From the Asset Store
Logo Quiz with 150 prepared logos and answers, automatic question and answer mixing
  • Wink Glad to see this is proving useful!!

  • Could you be more specific on which appmobi scipts need to be removed from the html?

  • yes. please be specific what scripts have to be removed. I tried that too without any success.

    I tried removing both of these or each with the same result:

         <script src="http://localhost:58888/_appMobi/appmobi.js"></script>

         <script src="http://localhost:58888/_appMobi/xhr.js"></script>

    I'm always having a blank screen no matter if i export to phonegap or appmobi. Also i tried it in all browsers on pc and the default android gingerbread browser.

    would love if i could publish my apps to the android market but for now im just not able to pack it the right way... <img src="smileys/smiley19.gif" border="0" align="middle" />

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • sunnysonic, Some else told me (which worked for me), you can't have minify script checked for appmobi export.

    Wink, thanks, I figured that out after the fact.

  • thanks guys. i will try that out now that there are also new releases which state improvements over appmobi in the changelog.

  • I would like to bump this considering the changes to appMobi into Intel XDK. The issue of the "black screen" is still occurring for me despite it a year later.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)