Crosswalk Intel XDK experiences

  • Hi everybody, I don't know if I'm in the right spot, but because we are talking about performance, here's what I tested:

    I exported my project with Cordova and I used a apk builder found in this website: www mrchay com/projects/HTML5toAPK (add the dots in the URL). It uses a shrank Intel XDK/Crosswalk builder...and it's FAST! It contains some minor bugs (like some font errors), but it's the fastest thing I tested so far ! (as fast as CocoonJS and way faster than CocoonIO and Intel XDK).

    I want to put the latest Crosswalk 15 beta version in it, so maybe the wrapper could be better, but I'm not a coder at all, so I'm limited!

    Maybe somebody could try this method and share his experience.

  • METHOD 1:

    1. Export your Construct 2 via Intel XDK + Crosswalk as you did before

    2. Unpack .apk into folder

    3. Decompile AndroidManifest.xml

    4. Change permisions

    5. Recompile AndroidManifest.xml again. But now its not "signed" anymore, and won't instal on mobiles.

    6. Get it "signed"

    7. Pack the files back into .apk again and get the .apk "Zipsigned".

    The last two step can be done with this tutorial:

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

    Took me about an hour to finish.

    METHOD 2:

    1. Pinpoint Crosswalk HQ

    2. Put it on fire <img src="{SMILIES_PATH}/icon_evil.gif" alt=":evil:" title="Evil or Very Mad">

    3. Refuse to put down the fire untill they'll come up with a solution or means for us to change the permisions setting by ourself.

    Can you be more specific about the Method #1:, steps 3, 4 and 5?

    I have to say that I like the method #2 <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Can you be more specific about the Method #1:, steps 3, 4 and 5?

    I have to say that I like the method #2 <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Actually doing enough noise apparently worked! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    https://lists.crosswalk-project.org/pip ... html#start

    [quote:1kkzow02]Thanks for explaining how the tool works. Like I said, Crosswalk shouldn’t enforce anything else than the minimum set of permissions, the rest should be up to the user. I’m actually surprised nobody complained about the camera etc. before if those are enabled by default.

    We’ll work with the XDK team to fix this.

    Francesco

    [quote:1kkzow02]Thanks for your patient propose.

    We are discussing with XDK team to dynamically configure those permissions

    Thanks,

    Junwei.

    As for recompiling back the apk:

    https://www.reddit.com/r/Android/commen ... ify_an_apk

    I would like to add, that beside the initial comunication problems - the guys over Intel/Crosswalk are exceptional nice, polite and reasonable. Ah, I wish Node WebKit team would learn from them. Or Google Chrome... I still see unchecked bug reports on their platform... from a year ago.

  • Hi everyone,

    I just tried Android Crosswalk today and it seems acting weird. In my first build when the game started it had no music only sound effects and now when I build it gives error "An error occurred while building the application. Verify your build assets are correct and try again." I tried several times and it happens. Any ideas??

  • Hi everyone,

    I just tried Android Crosswalk today and it seems acting weird. In my first build when the game started it had no music only sound effects and now when I build it gives error "An error occurred while building the application. Verify your build assets are correct and try again." I tried several times and it happens. Any ideas??

    hi,

    my musics not working too

  • This used to work..

    I have exported, using the Mobile/Cordoba selection, and with the options the tutorial itself say.

    I import the proyect, the Intel XDK show the files, but i get NOTHING more than a black screen, it doesnt work at all.. Anyone have passed through this?

    I have reimported, re exported the proyect using every posible conbination and still BLANK screen... In Construct2, RUN LAYOUT and DEBUG WORKS well...

    Any cooment?

  • This used to work..

    I have exported, using the Mobile/Cordoba selection, and with the options the tutorial itself say.

    I import the proyect, the Intel XDK show the files, but i get NOTHING more than a black screen, it doesnt work at all.. Anyone have passed through this?

    I have reimported, re exported the proyect using every posible conbination and still BLANK screen... In Construct2, RUN LAYOUT and DEBUG WORKS well...

    Any cooment?

    use crosswalk

  • mahdi71 Hi! I just solved it thanx to he helped me on this situation. Just drag and drop your music files from your "music" folder to the "sound" folder inside Construct2 before exporting. That fixed the music issue with me.

    Check this thread

  • > This used to work..

    > I have exported, using the Mobile/Cordoba selection, and with the options the tutorial itself say.

    >

    > I import the proyect, the Intel XDK show the files, but i get NOTHING more than a black screen, it doesnt work at all.. Anyone have passed through this?

    >

    > I have reimported, re exported the proyect using every posible conbination and still BLANK screen... In Construct2, RUN LAYOUT and DEBUG WORKS well...

    >

    > Any cooment?

    >

    use crosswalk

    As I said before... used every conbination posible and no diference... Crosswalk, pgap... everything

    anyone?

  • Arcanebits How do you import the project?? The way I follow is always I say START A NEW PROJECT with blue plus button. After that I I click Import your HTML 5 CodeBase and then select the folder. This way always works for me.

  • mahdi71 Hi! I just solved it thanx to he helped me on this situation. Just drag and drop your music files from your "music" folder to the "sound" folder inside Construct2 before exporting. That fixed the music issue with me.

    Check this thread

    hi

    nooo this is a bad idea ! why ? sound folder make sound decompile in loading (preload) but if you put music in sound folder (musics mostly are too long) loading your game in start up will take so long and users complain about it.

    i compiled this game in last week with intel xdk crosswalk 14 and musics worked fine

    and now its not ! crosswalk 12 or 14 not working ! why ?

    i know problem is not crosswalk its intel !

  • ok i found a way !!

    use intel xdk and then you dont have musics but :

    1- download Advanced ApkTool

    2- decompile your apk

    3- recompile your apk

    !!!!!

    i dont know why but it work !

  • mahdi71 That way the music works?? Where do I download Advanced Apk Tool?? Also Do I have to resign the apk that way?? Because I always autosign my apks by Intel XDK and I already created my game (even it is not published) in the Google Store which won't accept a different signed apk.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • mahdi71 That way the music works?? Where do I download Advanced Apk Tool?? Also Do I have to resign the apk that way?? Because I always autosign my apks by Intel XDK and I already created my game (even it is not published) in the Google Store which won't accept a different signed apk.

    search for download Advanced Apk Tool

    then put your apk in "2-In" folder

    then run Advanced Apk Tool

    choose decompile

    then recompile and sign and zipalign

    but you can change the sign key in "1-BDFreak" folder

  • mahdi71 Thank you. I will try it definetly.

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