pafowkes
Posts: 0
Joined: Fri Apr 12, 2013 1:42 pm

Uploading files to appery DB tutorial problem

Hi,

I have used the code in this tutorial (http://docs.appery.io/tutorials/uploa...) in my app and everything works fine in the browser when however I run on my Samsung Galaxy (with Firefox installed) the file selector button will not open the FF file selector it chooses either the gallery or es explorer and therefore nothing works! Is there a way of invoking FF?

Thx

Sergey Kozyr
Posts: 0
Joined: Tue Apr 30, 2013 2:55 pm

Uploading files to appery DB tutorial problem

By default only images are accepted by file selector. If you want to change acceptable file types you should change HTML code created on the 7th step Building the Upload page:
instead of
code<input type ="file" name ="fileselect" id="fileselect"><&#47;input>/code
you should write:
code<input type ="file" name ="fileselect" id="fileselect" accept="&#47;"><&#47;input>/code

In such case file selector will show you all possible application to select file on your device.

pafowkes
Posts: 0
Joined: Fri Apr 12, 2013 1:42 pm

Uploading files to appery DB tutorial problem

I am only needing to upload image files, when I select a file on my desktop browser, the image displays fine in the preview as below;

Image

When I try the same however on the mobile app I get no such preview and consequently there is nothing to upload, the app running in the desktop browser however works fine.

pafowkes
Posts: 0
Joined: Fri Apr 12, 2013 1:42 pm

Uploading files to appery DB tutorial problem

If I share the app is it possible somebody could take a look and see where the issue is so I can determine a route to move forward? Or alternatively see if the tutorial app gives the same results on another Android device

Sergey Kozyr
Posts: 0
Joined: Tue Apr 30, 2013 2:55 pm

Uploading files to appery DB tutorial problem

Please share application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so we could find out a solution.

pafowkes
Posts: 0
Joined: Fri Apr 12, 2013 1:42 pm

Uploading files to appery DB tutorial problem

OK, just noticed it was already shared (Doc svcs 3)

Sergey Kozyr
Posts: 0
Joined: Tue Apr 30, 2013 2:55 pm

Uploading files to appery DB tutorial problem

I see your project. Working on it.

pafowkes
Posts: 0
Joined: Fri Apr 12, 2013 1:42 pm

Uploading files to appery DB tutorial problem

Hi Sergey, did you find any issues regarding this?

pafowkes
Posts: 0
Joined: Fri Apr 12, 2013 1:42 pm

Uploading files to appery DB tutorial problem

Hi sergey did you have any luck with this?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Uploading files to appery DB tutorial problem

What mobile Firefox version?

Return to “Issues”