IntelRobert's Forum Posts

  • If you run the app from the debug tab in XDK, you are not subject to the size limit and will be testing against crosswalk. It is also much faster than going through the build process. It is similar to 'run layout' in c2.

    software.intel.com/en-us/html5/articles/xdkdocs

    I will try Crosswalk soon but right now my game has about 65 MB. I hope removing the music files not needed for android will be enough to reduce it to 50 MB. :/

    An option to build bigger games would be great. I don't want to upload to Play Store yet.

  • Crosswalk team says they have fixed the webaudio volume problem in 3.32. After everyone returns from vacation next week we can see when we can update the build system.

    Slice: I think Ashley is working on the back key problem. For the webgl fx problem, can you also test in chrome for android browser? If it works in browser then we need to find a simple way to reproduce the problem so the crosswalk team can look at it. Will look into 'move to sd' issue.

    TwinTails: Will investigate the play store problem. I guess we need an option in build dialog to control debuggability.

  • iOS doesn't have crosswalk, so this is a general XDK problem. Try using one of the c2 samples like spaceblaster and see if that works. If it does, then the problem is specific to your game. Click on the bug icon in emulator and look for errors in console. If you continue to have problems, please try asking a question here: forums.html5dev-software.intel.com/viewforum.php

       @IntelRobert, using XDK NEW for iOS I'm getting a black screen testing a project with 7mb of assets. And a white screen on the emulator. Any ideas?

  • Crosswalk from XDK is already on v31. I verified by looking at the user agent string.

    IntelRobert are the last beta crosswalk using the last chrome engine (v31 not v29) is that the case or in a near future can send you my projects for test the crosswalk?

    Thanks

  • I will look into solutions for people who are on XP and Vista. I am sure we can find something, but it might require a little extra effort on your part.

    IntelTyler IntelRobert

    will there be another option once The web version is retired?I really would love to continue to use this option for export on my current OS.

    Im using Windows Vista for now.

  • yongsheng: can you answer Ashley's question?

    (Yongsheng works on crosswalk)

    Oh, and IntelRobert - are the Chromium assets compressed in Crosswalk? I know for Windows you can get special executable packers which basically compress the contents of an EXE and then decompress it and run it on startup. It can make the startup time take longer, but done right it should only need to be done once on first run and could save several MB of space.

  • Jase00 This looks like a crosswalk problem specific to your phone software configuration. Can you file an issue at https:X//crosswalk-project.org/jira/secure/Dashboard.jspa

    Remove the X after https: above. I can't post URL's yet.

    Mention that you are building with XDK. Give the model for your phone and the OS version. Attach a zip of the output of the exporter for a very simple project. JIRA will create an issue number so it would be good to edit your Scirra forum post to include the JIRA issue number so we know how to track the problem.

    Ok I've tried building my app a few times changing different things here and there. Once I install the APK, I launch it, get a black screen for about 10 seconds, then an error pops up, reading:

    "The connection to the server was unsuccessful. (file:///android_asset/www/index.html)"

    Pressing ok made my phone crash the first time, so the other times it happened I have killed the app.

    I'll try with a much smaller simpler app and see if I get the same results in a while!

    EDIT: I tried building one of the templates in Construct 2 and installed the APK and still get the error above. I also noticed that during the 10 seconds of the black screen, my phone is completely unresponsive.

  • IntelRobert

    Is it possible in the future to reduce the library inside the apk to 10MB or less?

    That is not likely. However, we are investigating something that might work for you. You can make an android apk depend on another apk. We could package crosswalk as a separate APK. The first time you start the app, it will check if crosswalk is installed and open up google play if it is not. If crosswalk is already installed, then the app will install/launch. Earlier versions of Adobe Air worked this way.

    This makes the minimal crosswalk app be < 1MB. We were concerned that App Developers would think this is cumbersome and would prefer that the crosswalk runtime be embedded in the App so the end user has a single download. What do you think?

    Another possibility is to use google's support for expansion files. Ashley's suggestion of the app downloading the assets and relying on caching would be the simplest solution.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you want to test crosswalk, but are blocked by the 25M limit for upload while trying to build:

    Start up XDK then click on the 'Debug' tab at the top. Connect your android device to your computer via usb. There is some help information on the screen--you may need to install a driver. Then click the 'rocket' icon and it will launch your app on the device using crosswalk.

    The first launch will be slow. After the first time, a project with 51M of assets took 20 seconds to launch on my Nexus 4. Building an APK takes 5+ minutes when you include upload/download time so this is a much faster and easier way to test with crosswalk.

    Debug tab also lets you debug your app in Chrome dev tools, profile tab lets you profile the javascript.

  • Thanks for taking the time to try out crosswalk and XDK and letting us know the good and bad. It really helps us know what we have to do next.

    Astro The build problem was resolved. A logging option was left on and the disk filled up. I did a couple builds and it works fine now.

    RookieDev There is a web based interface to the build system. We are going to retire it in a few months but you can use it for now.

    I don't have enough points to post a url so I had to mangle it. Cut/paste and get rid of the X between http: and //

    http:X//appcenter.html5tools-software.intel.com/csd/controlpanel.aspx

    'start a new app', 'create your own from scratch' 'start with a project bundle' Export from c2 for android. Create a zip file with index.html in top level. Upload that bundle. Click next.You will be in appcenter and select 'build as mobile app' and the 'crosswalk'.

    If you want to update the zip file, export from c2 again. Make a new zip. Go to appcenter. 'Update QA' to upload the new bundle. 'Promote' to put it in the production slot. Then build.

    This is much easier from XDK so we should find a way for you to use it. Are you on windows XP? What problem do you see?

  • Astro When everything is working, the build finishes in about 3 months and you get a message that it finished and an email. When it isn't working it will time out after 10 minutes and you won't get a message or email. It looks like that is happening now and the problem is on our side. I will report the failure.

    Crosswalk vs other runtimes. The goal of crosswalk is to provide a full featured standard html5 runtime. This makes it easier for c2 to use the latest features of html5 and is less work for c2 to support since it is standard and more up to date. It is based on chromium, and Google, Intel, Samsung, plus many individuals are constantly contributing to the code base to make it better. AGI/Ejecta/Cocoonjs provide a subset of html5--mainly canvas and optimized for games. If they have everything you need--that's great. One of the nice features of C2 is that it doesn't lock you into a choice about build targets. We hope to get over the current set of issues and then users will get the benefits of the continual improvements in chrome.

  • When it is time to publish, you will get the most reach by publishing both the ARM and x86 versions. Customers will see only a single app in the store and google play will download the appropriate version. XDK will set the version codes so it should be straightforward. We are looking into single APK solutions, but it makes the APK size problem even worse. Intel makes x86 so we are hoping you will take the extra step to publish both.

    You can read more by googling 'android multiple apk'

    AnD4D

    ARM and x86 are the processor types. ARM is what almost all android devices use so I'd say pick that.

  • Slice: You don't have to install chrome to use crosswalk.

    I have a question for the crosswalk, need to have installed chrome for android or not, to run the application ?