IntelRobert's Forum Posts

  • GeometriX

    The Build settings is just a graphical editor for intelxdk.config.crosswalk.xml If you look in there, you will see that the launch icons are still there, even though they are not being displayed after returning to the project. You could also delete your icons/splash screens by editing the file when the xdk is not open.

    The issues you are pointing out need to be fixed, but this will let you make progress until we can do it.

  • The showcase is much easier for us to work with so please add it here: https://software.intel.com/en-us/xdk-projects.

    i added my game too <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    in the xdk, after build is finished, theres a checkbox for advertising, are these games also been showed around? i hope so <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Here is a tutorial.

    https://www.scirra.com/tutorials/861/ho ... id-app-apk

    IntelRobert

    Hi, do you know if its possible to sing the app manually, i need to update an app that its allready in the store, and i cant found any manual or indication related to this issue

    tx and cheers!

  • AlexFrancois

    The muting problem is an issue with chrome for android, which crosswalk depends upon. It works in chrome for windows/mac which explains why it works in the emulator. We don't have a solution right now and are waiting for it to be fixed by google.

    cranberrygame

    I will look at the c2 'snapshot canvas' to see why it does not work in crosswalk. It might take a few days.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • cranberrygame

    Do you only need to capture the canvas? The following works for me. I see that the textureview has memory and performance penalties.

    <!DOCTYPE html>
    <html>
    <body>
    
    <canvas id="myCanvas" width="200" height="100" style="border:1px solid #c3c3c3;">
    Your browser does not support the HTML5 canvas tag.
    </canvas>
    
    <div id="placehere">
    
    <script>
    
    var c = document.getElementById("myCanvas");
    var ctx = c.getContext("2d");
    ctx.fillStyle = "#FF0000";
    ctx.fillRect(0,0,150,75);
    
    var dataUrl = c.toDataURL();
    
    var elem = document.createElement("img");
    elem.src = dataUrl;
    
    document.getElementById("placehere").appendChild(elem);
    </script>
    
    </body>
    </html>[/code:3kuui9kb]
  • Paul updated the document so please look at the splash screen section again: https://software.intel.com/en-us/html5/ ... ld-options

    We have to get 9 patch working, we need to clean up the unused splash screens in the APK. If there is something else that needs to be done for splash screens, please PM me.

  • Just want to confirm that the comments from before are all correct. XDK wants you to be able to export from c2 and build crosswalk for android, android webview, ios, windows, etc. We are using the cordova codebase and are trying to do it so you can choose phonegap build, cordova cli, or XDK and it will be more or less the same. We are working with Ashley on getting ads, payment, game services, etc working. You should be able to use the phonegap exporter today and use it with XDK. It will ignore the config.xml that c2 generates so you will have to configure icons, splash screens, full screen, etc in XDK. If you are seeing problems, let us know (XDK forums and/or PM to me).

  • I was told that 9-patch never worked in XDK. They are looking into adding support, and I will know in a few days. Feel free to PM me for an update.

  • You should be able to use the Intel XDK as an alternative to phonegap build. In addition to crosswalk in XDK build tab, you can select ios & android. You will be using standard phonegap/cordova so you will get the small apk. It doesn't read the config.xml, but the project settings in Intel XDK will let you specify full screen, version codes, etc.

  • Also discussing in PM, but for others who have the same question. Crosswalk follows cordova/phonegap and uses file: as origin. You can read this article on the recommended way to do oauth in cordova: http://phonegap-tips.com/articles/googl ... owser.html

    You can also look at an example I did:

    https://github.com/rscohn2/phonegapi

    IntelRobert

    Please confirm http://localhost:58888 is no longer working with XDK Sep update.

    Sadly, our previous oauth2 login flow is no longer working where we redirected back to app page using localhost:58888.

    Also, notice that the current app built with Sep XDK is using file:// url to access html and files and browser does not allow to go from http:// to file://

    Any advice on how to fix this?

    ---

    current oauth2 login flow

    app requests login ---> redirect to server's login page ---> user login ---> redirect back to app index.html with parameters

  • I might be wrong about the 9patch. I am checking with Paul who wrote the article.

  • We don't currently support 9 patch. There is already a request to add it, but it is queued up behind some other issues so I don't know when it will be there.

    IntelRobert I read on another topic that placing a 9patch png as a splash image make it avoid distortion. Is this true? because I tried several 9.png images an all of them are distorted on my Samsung galaxy s2 with aspect ratio 16:10

    The left is the original one and on the right is a snapshoot from my phone

    I know the 9patch image is properly generated, it has the 1 pixel black border as it should, I did my homework

  • Right, we had some operational problems that brought down the build servers. It should be fixed now.

    >

    > EDIT 2: I was able to build another project that I didn't change any settings on. So seems like maybe something's been fixed server side

    >

    Same, just got a build. And I hadn't upgraded to latest XDK build and didn't change any project details.

  • It is possible to do a local build if you install crosswalk, android sdk, python, and use some command line tools. You can read about it more here:

    https://crosswalk-project.org/

  • There isn't a way to make app preview go full screen and hide status bar. I entered a feature request, but it may take a while.

    As a workaround, I updated the crosswalk view app, which can be downloaded here: https://drive.google.com/folderview?id= ... sp=sharing

    CrosswalkPlayer.arm.8.37.189.2.apk is the ARM crosswalk 8 version. You can use the Construct2 preview over wifi feature and point this app at the construct2 server to preview your app. Back button and anything else cordova-related will not work.

    If you are having XDK build issues, feel free to PM me.

    IntelRobert can preview or debug from XDK run in fullscreen? Testing it via USB on my Galaxy S3, there is always statusbar visible on top of the screen and its screwing scaling of my game :/

    edit: and btw. is XDK working fine? I can't build anything :/