Creating Directories to categorize the images based on its type in Java/Android?
I have to create a multiple directory like this path("images/wallpaper/开发者_Go百科flower"). It should be stored in the External Memory of the phone.
How to do it? Any Idea?
Just get the SDcard path using Environment.getExternalStorageDirectory(); and then create the dir structure with the Java's File class.
You should know that the sdcard can be unmounted so check it's status first.
精彩评论