Android - How to create a folder on the SD card with the application icon with the lower left corner?

I want to create a folder programmatically for my application just like this screenshot.

I tried on google but did not get the proper result.

check attach screen shot This screenshot is for displaying a link to the icon folder.

Capturing images from Es explorer file manager.

enter image description here

+5
source share
1 answer

I want to create a folder programmatically for my application just like this screenshot.

To create a directory (aka, folder), call mkdirs() on the File object using the standard Java I / O file.

check attach screen shot This screenshot is for displaying a link to the icon folder.

You will need to contact the developers of this application and ask them what they use to identify the icon to apply to a specific directory. Directories on Android (and most other operating systems) do not have the icons themselves.

+1
source

All Articles