Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android - How to create folder on sdcard with app icon with left down corner?

I want to create a folder programatically for my app same as this screen shot.

I tried on google but not getting proper out put.

check attach screen shot this screen shot is for showing a reference of Folder with icon.

Image captures from Es explorer file manager.

enter image description here

like image 832
Roadies Avatar asked Jun 01 '15 12:06

Roadies


1 Answers

I want to create a folder programatically for my app same as this screen shot.

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

check attach screen shot this screen shot is for showing a reference of Folder with icon.

You will have to contact the developers of that app and ask them what they are using to identify the icon to apply to a particular directory. Directories in Android (and most other operating systems) do not have icons themselves.

like image 127
CommonsWare Avatar answered Oct 14 '22 17:10

CommonsWare