New Android Export Experiences

From the Asset Store
Kids Game
$49 USD
New Sounds Added Update: 115 new sound effects added for no additional cost!
  • Also, the Facebook plugin you have implemented for C2, does not work for Crosswalk. Ashley IntelRobert

    The default one, I tested that.

  • If anyone has the issue of the XDK hanging like I did, open command prompt and type java -version

    if you get the error saying the command is not recognized, make sure java is installed. If it is not, then make sure your path and classpath are set in your environment variables.

    That fixed it for me, XDK opens no problem now

    My apps seem to run pretty good!

    I am having issues with geolocation, although i see GPS light up on my android, the app comes back with a fail.

    I also wonder, anyone know a good way to implement cross origin talk? So if I want to get data from my server, any good ways except using ajax and opening up cross origin?

  • If you are seeing messages about java, then you are using the old version of XDK. Please try the new one which replaced java with node-webkit:

    xdk-software.intel.com

    If anyone has the issue of the XDK hanging like I did, open command prompt and type java -version

    if you get the error saying the command is not recognized, make sure java is installed. If it is not, then make sure your path and classpath are set in your environment variables.

    That fixed it for me, XDK opens no problem now

    My apps seem to run pretty good!

    I am having issues with geolocation, although i see GPS light up on my android, the app comes back with a fail.

    I also wonder, anyone know a good way to implement cross origin talk? So if I want to get data from my server, any good ways except using ajax and opening up cross origin?

  • GameThirsty

    Cordova/phonegap provides inappbrowser for oauth and crosswalk includes cordova. You catch the redirect and then kill the window. I haven't done it myself so I am not sure about the details. Here is a description: phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html

    Ashley

    How can I prevent the app from being redirected to the index.html page on my web server then? I have to give the Facebook plugin a redirect url and also inside the Facebook dev console.

    I don't want to redirect anywhere after login, I want to stay on the app, not the external web page it redirects to.

    The back button wont work after I had logged in, due to this problem.

    You can't just redirect back to the app, how would you do that? You have to give a valid http or https address. It redirects to the index file on my web server because thats where I pointed it, as its a valid http address, it redirects with an authentication code so I can use some of Facebooks Graph API's such as getting friends photos, which requires an authentication token.

  • This is incorrect.

    I AM using the new XDK. It even says "New XDK" for the program name.

    I also used it for crosswalk build, does the old XDK do that :S (I could not find information on it)

    I see the new XDK does state it removes dependence on java and chrome. But for some reason, java still effective the new XDK on my machine.

    If you are seeing messages about java, then you are using the old version of XDK. Please try the new one which replaced java with node-webkit:

    http://xdk-software.intel.com/

  • Thanks IntelRobert

    I am smelling a custom plugin for C2 to be able to do this feature.

    GameThirsty

    Cordova/phonegap provides inappbrowser for oauth and crosswalk includes cordova. You catch the redirect and then kill the window. I haven't done it myself so I am not sure about the details. Here is a description: phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html

    > Ashley

    >

    > How can I prevent the app from being redirected to the index.html page on my web server then? I have to give the Facebook plugin a redirect url and also inside the Facebook dev console.

    >

    > I don't want to redirect anywhere after login, I want to stay on the app, not the external web page it redirects to.

    >

    > The back button wont work after I had logged in, due to this problem.

    >

    > You can't just redirect back to the app, how would you do that? You have to give a valid http or https address. It redirects to the index file on my web server because thats where I pointed it, as its a valid http address, it redirects with an authentication code so I can use some of Facebooks Graph API's such as getting friends photos, which requires an authentication token.

  • Here is the JIRA to track the issue: crosswalk-project.org/jira/browse/XWALK-854

    IntelRobert

    About the UserMedia plugin, there is an html feature called MediaStreamTrack.getSources, it allows the user to select sources of input (multiple cameras) it is not yet integrated in construct 2 (though i sent a mail to the support team and it has been added to the to-do list).

    I've made a costume plugin to support this feature, it works fine when using on chrome but not on the XDK, here is an html+js sample on how to use it, you can put it as is in a new XDK project and see how it works (on XDK choosing both user+environment cameras activates the user(front) camera).

    https://simpl.info/getusermedia/sources/

  • That's great, THANKS!

  • Anyone tried using this export feature with OUYA ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I originally installed XDK before it was "new" and got it running, and then uninstalled it. I then later installed XDK New, and it was able to install and run, and I also uninstalled it. With the newest one, I downloaded the installer and when I double click on it, nothing happens at all. Nothing opens or even tries to install, no screen comes up. This also happened when I tried to reinstall a previous version that worked for me, but again, nothing happens.

    I've tried turning off firewall and any virus blockers, and running the installer in administrator mode, but that doesn't help either. Is there a setting that need changed or anything I am doing wrong?

  • This may sound stupid, but did you restart the computer?

    It might help, find the cache files for the XDK and delete them. (usually in app data folder)

    I originally installed XDK before it was "new" and got it running, and then uninstalled it. I then later installed XDK New, and it was able to install and run, and I also uninstalled it. With the newest one, I downloaded the installer and when I double click on it, nothing happens at all. Nothing opens or even tries to install, no screen comes up. This also happened when I tried to reinstall a previous version that worked for me, but again, nothing happens.

    I've tried turning off firewall and any virus blockers, and running the installer in administrator mode, but that doesn't help either. Is there a setting that need changed or anything I am doing wrong?

  • Questions,

    Do you work in the plugin clay.io Crosswalk?, Since I've implemented it off if i put it works and if it does not work. <img src="smileys/smiley13.gif" border="0" align="middle" />

  • IntelRobert How much 'lag' should we expect on Crosswalk using new versions of Chromium. Is it planned to keep pace with Chromium's 6-week release cycle?

  • mutuware

    Crosswalk release schedule is github.com/crosswalk-project/crosswalk-website/wiki/Release-dates

    There will be a small lag between crosswalk release and availability in XDK build service, but we will keep the same cadence.

    IntelRobert How much 'lag' should we expect on Crosswalk using new versions of Chromium. Is it planned to keep pace with Chromium's 6-week release cycle?

  • This may sound stupid, but did you restart the computer?

    It might help, find the cache files for the XDK and delete them. (usually in app data folder)

    No, that's not stupid :) I've already restarted my computer, but nothing has changed. I located where that folder should be and it didn't even exist, so I must have already deleting it. Interesting note, last night I went to try and install the old Intel XDK Chrome add on, and that actually starts the installer. It hangs up towards the end, but I think that is the internet connection.

    If I get that installed, can I update to XDK New from the old program?

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