Input type file android


#1

I am uploading a an image on my app with:

<input type="file" accept="image/*">

But i have seen that it doesn’t work on every device, (Ex: on android 4.4.2 does not work)

Is there a way to achive that?

thanks


#2

Up,
is there any tips to get work with it ?

Thanks by advance


#3

You need to use the file transfer plugin for upload images. Cordova app does not work like a website. You need to call the image picker plugin and then use file transfer plugin to upload files.


#4

Ok thanks, but even with Android 5 ?


#5

yes. it is an app and not a website. both behave differently.