Looking to see if anyone knows of a File Picker plugin similar to the image_picker, but for files, so that they can be uploaded from a mobile device.
Looking for a plugin or any example if anyone has done it already.
Thanks for any help.
I started hacking this together. I got it basically working for android. Here is the repository.
It actually copies the selected file to the app's temp directory and then provides the path, since there's no way I can see to get the file data from the OS to flutter.
Related
I have encountered a problem that the app needs to save pdf files downloaded from the internet in the downloads folder in both ios and android, but after searching for solutions on the internet I have not found anything that would help in this implementation. I would appreciate if someone could share their experience in implementing such functionality.
It would be better if you can add more details to your questions. It is preferred that you should attach some code or screenshots of your code so that you can get better help.
every app in android or ios has its own folder in the device storage, android apps will be in the android directory.
you can use the path_provider plugin to get the directory of your app, all the information you need will be in this link
hello I would like to know if there is a camera plugin for flutter web in order to take a photo and store it in a temporary path to then upload it to firestorage
If I understood correctly and i hope you already tried these packages image_picker & image_picker_web
Check these resources, it seems pretty same to your scenario;
https://github.com/flutter/photobooth
https://medium.com/flutter/how-its-made-i-o-photo-booth-3b8355d35883
Reply back if this is helpful to sort out the problem or share with us how did you solved it.
I am developing a photo vault using Flutter. I need to list all the images in the mobile storage, and when the user picks one or more images. I need to move that image(s) into App Private. So that no other app can see it. So for moving the file, I need the location/path of the picked image(s). which no plugin on earth is providing.
Below is the list of plugins I tried. Each one of them provides the path of the image copied to the app private directory. No the original one
file_picker 2.1.6
image_picker 0.6.7+22
multi_image_picker 4.7.15
It would be a big help if you could suggestion some solution for it.
Thank You
I've just seen that there exists a cordova extionsion to write files in ionic.
But. What am i supposed to do with it? I mean a Usecase would be "create File, Plug-in Mobile, Copy to to Computer" but this I guess isn't supported by iOS at all.
So my questions are:
What is $cordovaFile meant for in ionic?
Is it possible to to realize the above Usecase in android even though it's clearly not in iOS?
Quote from the github page:
This plugin implements a File API allowing read/write access to files residing on the device.
Maybe you would want to download an image and save it to the sd card for example (you would need filetransfer plugin to download the image). More info about the plugin you can find here.
Can anybody tell me how to browse for a movie file from the android folders (either phone/SD Card memory). Let's say I got a movie file on the phone memory and I want to access it from my application, what is the best way to do it?
Please help me.
I think you need to use
Intent intent = new Intent(MediaStore.INTENT_ACTION_MEDIA_SEARCH);
I'm not sure but I hope this put you in the right track
here the link for this class
http://developer.android.com/reference/android/provider/MediaStore.html#INTENT_ACTION_MEDIA_SEARCH