FilePicker icon indicating copy to clipboard operation
FilePicker copied to clipboard

Missing audio format

Open ThibaultBee opened this issue 5 years ago • 2 comments

Describe the bug Few audio format are missing when searching all audio format

To Reproduce Steps to reproduce the behavior:

  1. I have an .aac file
  2. Look for audio file on device
  3. AAC file can not be found

Expected behavior The filepicker should find the aac audio file.

Android info (please complete the following information):

  • Not relevant

Additional context Many mime types are missing in: AudioSelectionArgs.addAll(Arrays.asList("audio/mpeg", "audio/mp3", "audio/x-ms-wma", "audio/x-wav", "audio/amr", "audio/3gp")); You may use https://developer.android.com/reference/android/media/MediaFormat MIMETYPE_AUDIO_* Anyway, I think you can look for file with mime type starting with "audio/"

For testing, you may use the audio file from https://docs.espressif.com/projects/esp-adf/en/latest/design-guide/audio-samples.html

ThibaultBee avatar Apr 21 '20 13:04 ThibaultBee

Same for image and video files

ThibaultBee avatar Apr 21 '20 13:04 ThibaultBee

Can you try out the following release

implementation 'com.github.jaiselrahman:FilePicker:1.4.0-alpha01'

Querying media has been improved.

jaiselrahman avatar May 18 '20 05:05 jaiselrahman