Page 3 of 4

How can I convert the data from the upload of image into base64?

Posted: Wed Mar 26, 2014 2:58 pm
by Maryna Brodina

Hello!
Make html component where you have pre<input type ="file" name ="fileselect" id="fileselect">/pre visible. It's not possible to trigger click event for invisible component.


How can I convert the data from the upload of image into base64?

Posted: Wed Mar 26, 2014 4:12 pm
by adam griffin

I made it visible and its still not working on device. Do you have any other idea why its not working on device?


How can I convert the data from the upload of image into base64?

Posted: Wed Mar 26, 2014 4:43 pm
by adam griffin

I just tried having only the file select html without the click event. In the browser it works again but on device it doesn't work. Please help!


How can I convert the data from the upload of image into base64?

Posted: Wed Mar 26, 2014 4:44 pm
by Nikita

Hello,

You should make visible html-component itself (just check 'visible' in builder properties) instead of the form. And better use this style for the form

style="visibility:visibile;width:0;height:0";


How can I convert the data from the upload of image into base64?

Posted: Wed Mar 26, 2014 5:01 pm
by adam griffin

Can you check my code for me? I tried just the html component visible and I tried inside the html code itself. Neither work for me


How can I convert the data from the upload of image into base64?

Posted: Wed Mar 26, 2014 5:16 pm
by Nikita

If you click on the button "Choose file" itself, will a dialog of file opening appear?


How can I convert the data from the upload of image into base64?

Posted: Wed Mar 26, 2014 5:30 pm
by adam griffin

No the dialog will not appear, I tried clicking the "Choose file" button and It wont do anything on device but on the browser it will work. Have you guys tested on device to see will it work for you all?


How can I convert the data from the upload of image into base64?

Posted: Wed Mar 26, 2014 6:01 pm
by adam griffin

I tired on my device it still didn't work. Nothing appears. On the device it still works correctly. Could you guys try it out on a device and see will it work?


How can I convert the data from the upload of image into base64?

Posted: Thu Mar 27, 2014 10:30 am
by Maryna Brodina

Hello!

Could you clarify what is your Android version?


How can I convert the data from the upload of image into base64?

Posted: Thu Mar 27, 2014 1:24 pm
by adam griffin

Version 4.4.2