This code is adopted from DisplayingBitmaps Sample in Android. It shows all images and videos on android phone, organized into folders (Same as that of Gallery app).
AndroidMediaDB is hosted in the following web site
https://github.com/hassanabidpk/AndroidMediaDB
If you think the Android project AndroidMediaDB listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of AndroidMediaDB.
Item | Value |
---|---|
Java File Count | 15 |
Supported screen sizes | [xxhdpi, hdpi, nodpi] |
Activity Count | 2 |
Fragment Count | 6 |
Required Permissions | android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET android.permission.WRITE_EXTERNAL_STORAGE |
The license information of AndroidMediaDB is as follows:
Apache License
There are 2 image files in AndroidMediaDB. The names of the image files are listed as follows.
android_folder.png empty_photo.png
The following screenshort is generated from the image listed above.