Question about AppMobi

0 favourites
  • I know that AppMobi isn't officially supported but I saw some people mention that are working with it and having success. I was just wondering if someone who had luck getting it work could shed some light on how exactly they went about it.

    I exported my game from C2 as an HTML project, then simply loaded the resulting folder into the AppMobi XDK as a new project. To my amazement it worked on the built in iOS and Android device emulators flawlessly. However, my excitement was premature as when I built the project as a native Android .apk and tried running it on my phone all I got was a black canvas. The hyperlink to the Scirra website was still under it tho.

    So has anyone has success building your C2 project into a native app using the AppMobi XDK? It was so promising seeing my game run perfectly on that little emulators screen lol.

  • I got about as far as you did with it. It runs good in the emulator but with the build only the loader screen shows then a black screen.

    I see AndyWatson got it to work with sound here:

    it works well - with sound!!!!

    I sure would like to know how he did it. <img src="smileys/smiley5.gif" border="0" align="middle">

    To get rid of the hyperlink you need to build it with C2 to your targeted devices screen size in full screen scale mode first.

  • Hmmm... thats interesting. It's nice to see that apparently someone has got it working. I'm not concerned about the hyperlink as its a feature of construct free and I plan on purchasing a license in the very near future.

  • You should always use the 'fullscreen in browser' setting when exporting for a mobile. That hides the link too.

    We aren't officially supporting AppMobi for the time being - right now as far as I know it doesn't do anything more than PhoneGap does, unless we change our code. It's on our todo list to see if we can improve this.

  • Thanks, switching to fullscreen did the trick. After switching to that it worked on my android phone. Performance seems to be much smoother than Phonegap from what I can tell. However I am having issues with collision detection between very small objects (2x2 px) which I'm guessing is a result of the lower framerate.

  • Performance seems to be much smoother than Phonegap from what I can tell.

    Can you provide your actual framerates on PhoneGap vs. AppMobi? You can use the system expression 'fps' to show it easily. If AppMobi is somehow faster we could probably prioritise it higher, but I really doubt it is because it works the same way as PhoneGap AFAIK (just embeds a browser window in an app).

  • Yea I'll try that the first chance I get... I'm also interested in whether or not there's a difference.

  • Ok I just tested the same demo built through AppMobi and Phonegap, and the apk built with AppMobi runs roughly 10 FPS faster. However, I'm almost certain that the AppMobi version is running at a lower resolution as I had a text object that said the viewport was 800px wide on Phonegap and 533px wide on AppMobi. So they are definitely building the apk files differently, but it would be difficult to determine which one is better at this point.

  • Ah, well it's faster if it doesn't draw as big a viewport, but then the game doesn't look so good...

  • First few times I created the .apk with appmobi I also had a blank screen after the loading screen. I removed the appmobi script from my html file and that got it working.

    I prefer the simplicity of phonegap, but as I can't get sound to work with phonegap I resorted to appmobi.

    I'm not very happy with appmobi showing my app as version 3.4.0 either, so I'm going to unpack both my phonegap and appmobi .apks this weekend to see how different they are, maybe I can use elements of each.

  • First few times I created the .apk with appmobi I also had a blank screen after the loading screen. I removed the appmobi script from my html file and that got it working.

    Thanks for letting us know how you got it working AndyWatson. I removed the script and it worked. I now have sound <img src="smileys/smiley4.gif" border="0" align="middle" />

    I haven't tried it yet but you should be able to change your app version number form 3.4.0 to whatever version you want by opening your folder were all your appMobi demos are stored. Then search for your app project folder, open it, and rename the 3.4.0 folder to whatever version you want.

    Let us know if you have any luck this weekend with modifying phonegap.

  • Wink so you tested your game and it worked with sound?! <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, it sure does. <img src="smileys/smiley4.gif" border="0" align="middle" /> And it is running on a Samsung Galaxy S with the Gingerbread OS using the phones default browser.

  • Wow! I'm gonna have to test this now!!!

    Maybe someone should write a tutorial on this. If I figure it out soon I'll do it <img src="smileys/smiley1.gif" border="0" align="middle" />

  • smitchell If you need some help let me know. If your going to write a tutorial you should take step by step screen shots of the whole process including the installation of appMobi. It's not to technical just a lot of steps.

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