I have to create a multiple directory like this path(“images/wallpaper/flower”). It should be stored in the External Memory of the phone.
How to do it? Any Idea?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.