ArcadEd's Forum Posts

  • Yes, never had a problem with that. Works fine on all the emulated devices.

    3.4.0.4 is the version of applab I had.

    Uninstalled and reinstalled. No change.

  • The XDK is all I am using right now, I just installed applab a few days ago, but I will uninstall and reinstall it.

  • OK, I must be doing something wrong because I just can't get it to work. Here are my steps (the newest project is arcaded_gmail_com.Kaplow-DC4)

    Install the AppMobiDev Plugin.

    Add AppMobiDev Object to my project

    Export, AppMobi, directcanvas

    copy directcanvasC2.js to my export directory

    include directcanvasC2.js in my index.html file

    zip up contents of my project directory.

    Go to appmobi.com, login, create a new app, upload my zip.

    Click on emulate, game works great on test devices.

    Click test anywhere to have it uploaded to the cloud.

    On my phone (HTC Thunderbolt running Android 2.3.4) launch applab

    goto my apps, find the project and run it. I get the appmobi splash screen, then black, then back to applab.

    Ed

  • You know what, I see what I did now I think. I think I right clicked on the JS file and chose save link as, hence getting an HTML doc and not the JS file. Duh!

  • Wow, I probably would have never thought to look there.   Did you fix it in my project? I ask because it looks normal to me right now. I will re download though.

  • Thanks Tap,

    First step it getting it working on the XDK. If we can get there, it's one issued solved. Then I can tackle using plugins to get my ads working if need be. All seems much easier to use than xcode and exclipse once I learn it and get it all working :).

  • That would be great. I haven't had any success getting an android app working with direct canvas. My latest attempt was doing just as you described (I think) export from C2 using the appmobidev plugin, including the directanvasC2.js file and including it in my html. My latest attempt is arcaded_gmail_com.kaplowDC2 project. I'm not sure if you can get into my account and see the project?

    As far as the SDK goes, the one on github, the last update to the android files was 9 months ago. I know you guys have put in a lot of work since then :).

  • Tap,

    This might not be the best place to ask this but, Is there a location to download the latest SDK? I prefer to build my projects in Eclipse so I can easily add in admob support and make other tweaks easily. Just curious if this is possible on android yet, getlib seems to have versions from about 9 months ago, unless I am looking in the wrong spot.

    Second, so with this latest version of the plugin I should be able to build apps with directcanvas for android and have them work using the XDK? I've tried with no success.

  • What about using 2 browsers?

  • I'll open a support ticket with them, thanks Ashley. I'm not sure where the issue is, or if it's just a combination of Jellybean, Construct and Phonegap.

  • Well phonegap just updated their SDK, but it didn't fix the issue. Based on the code and info I posted above, does anyone have any info on how I might fix this manually?

    Thanks.

  • If anyone has any ideas where I would put the above code I would appreciate it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for clarifying that for me. I figured as much as it works fine in the web browser, just not compiled with phonegap. I'm not really sure how all of these things come together in the end, I just know how to get there :).

  • Well here seems to be a fix that is going around. I'm not sure if it's related, but if so I would love to know where to drop this code to fix the issue.

    The solution, just add this code in the top of the iscroll.js

    var last_click_time = new Date().getTime();

    $("a").live("click", function(ev) {

         var click_time = ev["timeStamp"];

         if (click_time && (click_time - last_click_time) < 1000) {

              ev.stopImmediatePropagation();

              return false;

         }    

         last_click_x = click_x;

         last_click_y = click_y;

         last_click_time = click_time;

    });

  • Appears to be an issue with either Phonegap or Jquery 1.7.1 and not Construct. I'll post more information or a fix if I find one.