Intel XDK"Show remote site" doesn't work(Solved)

Discussion and feedback on Construct 2

Post » Tue May 06, 2014 11:40 am

Hi, i am working on a Android game(crosswalk for android), and i am trying to share the highscore to Twitter and return to the game after that.The Twitter share is not a problem, but the method to open the new window.

INTEL XDK OBJECT
I tried the "Show remote site" and "Launch external site" method, and they work well in the emulator and in the device(app preview) but not in my device.(Android 4.2).


Anyone can reproduce the same results?Or maybe it is a problem related to my Android version.
It would be great to see some examples of the Actions and Conditions of the IntelXDK object, because they are not too clear(at least for me), like the Add virtual page action, and how to use it.

Thanks
Last edited by cesisco on Thu May 08, 2014 7:39 am, edited 6 times in total.
B
36
S
11
G
9
Posts: 399
Reputation: 10,283

Post » Tue May 06, 2014 12:29 pm

I don't know if this issue is being addressed by Intel. I found the same with both Crosswalk and Phonegap that they will open a link within themselves as if they are a browser (which I suppose they are, sort of) rather than directing the phone's native/default browser or email app to handle the link. Doesn't happen in CocoonJS or Ejecta....
A big fan of JavaScript.
B
74
S
20
G
69
Posts: 2,207
Reputation: 43,836

Post » Tue May 06, 2014 4:36 pm

Colludium wrote:I don't know if this issue is being addressed by Intel. I found the same with both Crosswalk and Phonegap that they will open a link within themselves as if they are a browser (which I suppose they are, sort of) rather than directing the phone's native/default browser or email app to handle the link. Doesn't happen in CocoonJS or Ejecta....


Thanks for the information, i made a post in the Intel Forum expecting for some feedback.
Those actions(Show remote site, Launch external site) doesn't work even with all permissions on.It is weird because it works in the device with the Intel XDK App Preview.
B
36
S
11
G
9
Posts: 399
Reputation: 10,283

Post » Wed May 07, 2014 11:14 am

@Ashley For sure this problem is in Intel XDK, but do you have any clue on this?
I would love to figure out if the problem is on the Construct 2 side or the Intel XDK , to stop bother you guys ;)

Tks
B
36
S
11
G
9
Posts: 399
Reputation: 10,283

Post » Wed May 07, 2014 1:20 pm

The Intel XDK object does absolutely nothing in Crosswalk. It's actually designed for the Intel AGI (formerly directCanvas). I've renamed it in the next build to avoid confusion.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Wed May 07, 2014 2:20 pm

Ashley wrote:The Intel XDK object does absolutely nothing in Crosswalk. It's actually designed for the Intel AGI (formerly directCanvas). I've renamed it in the next build to avoid confusion.


Ok @Ashley thanks, so since Crosswalk is based on Chrome, i have to deal with the Browser object only, but
with the Browser object only, i can't see a way to open a link(to post the highscore on Twitter) in the default device browser instead of the Crosswalk app itself...but maybe i'm seeing it wrong.
B
36
S
11
G
9
Posts: 399
Reputation: 10,283

Post » Wed May 07, 2014 2:45 pm

That's fixed in the next build as well, the Browser object 'Open URL in new window' will work in Crosswalk and open the default browser app.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Wed May 07, 2014 5:11 pm

Ashley wrote:That's fixed in the next build as well, the Browser object 'Open URL in new window' will work in Crosswalk and open the default browser app.


Great! Thanks.
B
36
S
11
G
9
Posts: 399
Reputation: 10,283

Post » Wed May 07, 2014 6:00 pm

There's a new compilation of Intel XDK - Release - 2014 May 05 v876
B
157
S
27
G
17
Posts: 910
Reputation: 32,588


Return to Construct 2 General

Who is online

Users browsing this forum: Artpunk and 8 guests