问题
I want to associate folder with my application, like WhatsApp and Viber does.
I tried to create folder
File folder = new File(Environment.getExternalStorageDirectory().getPath() + "/MyAppName");
folder.mkdir();
But that MyAppName
folder is not associated with my app and ES File Explorer can't recognize "what app created the folder?", I want ES File Explorer add the icon of my app to the folder.
What is the way that some apps use for create folders and let ES File Explorer recognize the folders?
回答1:
All folders on Android are normal folders, ES File Explorer not uses any recognition system, people associates folders and every association is sent to ES File Explorer's database and majority of associations wins and finnaly folder is assigned with icon.
来源:https://stackoverflow.com/questions/30686248/create-folder-and-make-es-file-explorer-add-icon-of-my-app