Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

File Upload to Appery Database does not work on android

Hello!

Sorry for delay, working on it.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

File Upload to Appery Database does not work on android

Hi Teneika,

Sorry for the delay, was checking. As you use FileReader you can use the code https://getsatisfaction.com/apperyio/...

teneika
Posts: 0
Joined: Wed Mar 05, 2014 7:53 pm

File Upload to Appery Database does not work on android

Do I add this in addition to the code I already have?

teneika
Posts: 0
Joined: Wed Mar 05, 2014 7:53 pm

File Upload to Appery Database does not work on android

Are you saying what I have is invalid?

teneika
Posts: 0
Joined: Wed Mar 05, 2014 7:53 pm

File Upload to Appery Database does not work on android

I have tried what you said and i receive errors everywhere.. bad request.. does not give file contents, or file type.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

File Upload to Appery Database does not work on android

Hi Teneika,

  1. Instead of codereadAsText/code you should use codereadAsDataURL/code as it is shown here: http://stackoverflow.com/questions/17...

  2. You should also remove all the functions with the same name in code.

  3. Replace:prevar fileContent = $('[name=fileContent]');
    fileContent.text(e.target.result);/preWith:preAppery("fileContent").text(e.target.result);/pre

teneika
Posts: 0
Joined: Wed Mar 05, 2014 7:53 pm

File Upload to Appery Database does not work on android

[12:55:24.916] This data source not be supported in the method of upload multiple files @ http://appery.io/app/view/7d98fe7f-63...

This is the error I receieve

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

File Upload to Appery Database does not work on android

Where did you get this error? Can you send us screen shot?

Return to “Issues”