Page 1 of 3
Uploading files to appery DB tutorial problem
Posted: Wed May 08, 2013 1:08 pm
by pafowkes
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
Uploading files to appery DB tutorial problem
Posted: Wed May 08, 2013 2:55 pm
by Sergey Kozyr
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"></input>/code
you should write:
code<input type ="file" name ="fileselect" id="fileselect" accept="/"></input>/code
In such case file selector will show you all possible application to select file on your device.
Uploading files to appery DB tutorial problem
Posted: Wed May 08, 2013 3:02 pm
by pafowkes
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;
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.
Uploading files to appery DB tutorial problem
Posted: Wed May 08, 2013 4:34 pm
by pafowkes
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
Uploading files to appery DB tutorial problem
Posted: Wed May 08, 2013 4:41 pm
by Sergey Kozyr
Please share application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so we could find out a solution.
Uploading files to appery DB tutorial problem
Posted: Wed May 08, 2013 4:44 pm
by pafowkes
OK, just noticed it was already shared (Doc svcs 3)
Uploading files to appery DB tutorial problem
Posted: Wed May 08, 2013 5:25 pm
by Sergey Kozyr
I see your project. Working on it.
Uploading files to appery DB tutorial problem
Posted: Thu May 09, 2013 8:13 am
by pafowkes
Hi Sergey, did you find any issues regarding this?
Uploading files to appery DB tutorial problem
Posted: Thu May 09, 2013 5:45 pm
by pafowkes
Hi sergey did you have any luck with this?
Uploading files to appery DB tutorial problem
Posted: Thu May 09, 2013 5:48 pm
by maxkatz
What mobile Firefox version?