I want to store my images in an sdcard subfolder. I have done the following but my images are not getting stored in the subfolder.How can I save my images in the subfolder? My codes are as follows:
final File wallpaperDirectory = new File("/sdcard/Wallpapertask/");
wallpaperDirectory.mkdirs();
myImageView1.setImageBitmap(circleBitmap);
BitmapDrawable drawable = (BitmapDrawable)myImageView1.getDrawable();
Bitmap bitmap = drawable.getBitmap();
File sdCardDirectory = Environment.getExternalStorageDirectory();
File image = new File(sdCardDirectory, "test2.png");