添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am creating an application which allow users to save images and videos in external storage.

Images and Videos are being saved at specified location: FileManager->MyApp Downloads/Images
but those images are not available in gallary.

In Android there is a solution to display images in gallary with help of MediaScannerConnection.

Please Advice.
Thanks.

Both these plugins utilize channels to execute the Android media scanner:
https://github.com/hui-z/image_gallery_saver (kotlin)
https://github.com/Sh1d0w/multi_image_picker/ (java - if you're going to use this make sure to run it on the UIThread or it will error - the author has not updated the plugin for that yet - check #34993 )

https://stackoverflow.com/questions/4646913/android-how-to-use-mediascannerconnection-scanfile

Hi @AkramChauhan
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you