[Unsolved] File Chooser Download Example Added

Get help using Construct 2

Post » Fri Jan 29, 2016 6:50 pm

Consolidated my thread.
Cannot get this simple example to work on Android using XDK so made a simple example of the problem with everything stripped out.
Using file chooser and specifying .png,.jpg,.jpeg in properties.
I have included a capx, apk and screen shots of all the XDK settings I have tried.

https://drive.google.com/folderview?id=0B3eaqRhfaUabaHRWOFg1ZXAyTkU&usp=sharing

What is expected
What I expect to happen is that the file chooser should enable me to select an image from my gallery or camera (on Android) and for this photo to appear within the sprite.

What happens
1. On Android the file browser appears

Image

I believe this is the wrong one. Note that it does not show the gallery. From this menu I select the camera and take a picture, it asks me to save and then it returns to the app but the sprite image does not change.

I really want this dialogue to appear.

Image

2. On Chrome it works
3. On NW.js it works

What I have tried
Changing the XDK plugins. Tried the Cordova ones and tried the XDK ones both without any luck (see Google drive screenshots)

Not sure what to try next.
Is this a Construct bug (think not) or a XDK bug

Using XDK 2893
Crosswalk
CLI Version 5.1.1

Anyone know where I should look next?
Last edited by frozenpeas on Mon Feb 01, 2016 7:50 pm, edited 2 times in total.
B
9
S
3
Posts: 146
Reputation: 1,150

Post » Wed Feb 03, 2016 7:19 pm

Hey man i tried building my app with PhoneGap and File Chooser works there!
Now i just have to figure out how to make saving Canvas Snapshot possible on Android...

I also tried using Cocoon.io, but i can't see File Chooser button here, maybe you can also try Cocoon.io!
B
13
S
2
G
1
Posts: 77
Reputation: 852

Post » Wed Feb 03, 2016 8:11 pm

Thanks for the heads up on PhoneGap. Will give it a try.

For screen capture I use Cranberrygame's (paid) plugin called, funnily enough "PhoneGapScreenCapture"
https://plus.google.com/communities/117978754675005605917

Rob
B
9
S
3
Posts: 146
Reputation: 1,150

Post » Wed Feb 03, 2016 8:26 pm

Yeah tried Cocoon.io and file chooser no dialogue, nothing.
Newbie at Cocoon.io so must have been me. Plugins didn't want to install for some reason.

Can I ask what plugins you used to get File Chooser working over at PhoneGap

Thanks
B
9
S
3
Posts: 146
Reputation: 1,150

Post » Wed Feb 03, 2016 9:30 pm

Image

One of those plugins can't be installed, because of lower crosswalk version (you will see it inside build log).
On Cocoon.io, File Chooser is only not working Construct plugin. You should also post this in their forums, so they can add this in future! Cocoon.io is very easy to use and it's very nice! It has specialised Construct plugins!
B
13
S
2
G
1
Posts: 77
Reputation: 852


Return to How do I....?

Who is online

Users browsing this forum: jpstudio, just2pale and 5 guests