天天看點

android 圖檔選擇,可選擇圖檔,視訊,音頻,檔案,友善擴充AndroidFilePicker

android file picker ,you can choose image,video,file,etc..

image selector library for android. support single choice、multi-choice、cropping image and preview image.

android 圖檔選擇,可選擇圖檔,視訊,音頻,檔案,友善擴充AndroidFilePicker
android 圖檔選擇,可選擇圖檔,視訊,音頻,檔案,友善擴充AndroidFilePicker
android 圖檔選擇,可選擇圖檔,視訊,音頻,檔案,友善擴充AndroidFilePicker

1) add library module as a dependency in your build.gradle file.

or

add it in your root build.gradle at the end of repositories:

2) declare permission in your androidmanifest.xml

3) 圖檔選擇

same this

receive result in your onactivityresult method

4) 視訊選擇

5) 檔案選擇

5) 音頻選擇

<a href="https://github.com/bumptech/glide">glide</a>

compile ‘com.github.bumptech.glide:glide:3.7.0’

<a href="https://github.com/chrisbanes/photoview">photoview</a>

compile ‘com.bm.photoview:library:1.4.1’

//===

compile ‘pub.devrel:easypermissions:0.2.1’

<a href="https://github.com/isseiaoki/simplecropview">simplecropview</a>

compile ‘com.isseiaoki:simplecropview:1.0.13’

繼續閱讀