New Android Export Experiences

Discussion and feedback on Construct 2

Post » Wed Jan 15, 2014 9:37 pm

Thanks @IntelRobert

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



[QUOTE=IntelRobert] @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: http://phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html

[QUOTE=GameThirsty] @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.[/QUOTE] [/QUOTE]
B
17
S
6
Posts: 348
Reputation: 2,608

Post » Thu Jan 16, 2014 12:52 pm

@lof

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


[QUOTE=Lof] @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/[/QUOTE]
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Thu Jan 16, 2014 2:05 pm

That's great, THANKS!
Image
B
74
S
28
G
12
Posts: 515
Reputation: 12,359

Post » Thu Jan 16, 2014 11:22 pm

Anyone tried using this export feature with OUYA ?
B
16
S
5
G
1
Posts: 190
Reputation: 2,489

Post » Fri Jan 17, 2014 3:09 am

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?
B
11
S
2
G
1
Posts: 64
Reputation: 1,077

Post » Fri Jan 17, 2014 3:24 am

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)
[QUOTE=sgtwombatstudios] 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?[/QUOTE]
B
42
S
18
G
8
Posts: 495
Reputation: 8,410

Post » Fri Jan 17, 2014 10:19 am

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.
B
157
S
27
G
17
Posts: 910
Reputation: 32,588

Post » Fri Jan 17, 2014 11:20 am

@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?
B
7
S
1
Posts: 74
Reputation: 1,232

Post » Fri Jan 17, 2014 1:51 pm

@mutuware

Crosswalk release schedule is https://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.

[QUOTE=mutuware] @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?[/QUOTE]
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Fri Jan 17, 2014 6:09 pm

[QUOTE=humanescape] 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)[/QUOTE]


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?
B
11
S
2
G
1
Posts: 64
Reputation: 1,077

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 10 guests