title: unable to store image in specific folder in sd card
body: <p>I am capturing image by camera app and want to store in Specific folder but image not storing in folder here is my code :</p>
  
  <pre><code>File dir = new File(Environment.getExternalStorageDirectory().getPath() + "/" + "my_data");
                  try {
                      if (!dir.exists())
                          if (dir.mkdir()) {
                              System.out.println("Directory created");
                              Toast.makeText(Add.this, "created dir",
                                      Toast.LENGTH_LONG).show();
                          }
  
                      image_path = Environment.getExternalStorageDirectory().getPath() + "/my_data/" + aa + "_image.jpg";
                      File file = new File(dir,image_path);
  
                      uriImage = Uri.fromFile(file);
                      Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
                      intent.putExtra(MediaStore.EXTRA_OUTPUT, uriImage);
                      startActivityForResult(intent,CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE); 
  </code></pre>