title: Saving a drawing with the MediaStore.Images.Media.insertImage
body: <p>I have a problem saving a drawing with the File(MediaStore.Images.Media.insertImage) in a paint android app.</p>
  
  <p>When I save the drawing, in the drawing properties, it shows two different names: </p>
  
  <ul>
  <li>The title (this is the name I want)  </li>
  <li>The rute : is a number string, like 1908345093845.jpg. </li>
  </ul>
  
  <p>To be clear, here is a capture: </p>
  
  <p><img src="https://i.stack.imgur.com/sPzTrl.png" alt=""></p>
  
  <p>Why do I get this? </p>
  
  <p>The code: </p>
  
  <pre><code>else if (view.getId() == R.id.btn_guardar) {
          // save drawing
          AlertDialog.Builder saveDialog = new AlertDialog.Builder(this);
          saveDialog.setTitle("Guardar imagen");
          saveDialog.setMessage("¿Guardar imagen en la galería?");
          saveDialog.setPositiveButton("Si",
                  new DialogInterface.OnClickListener() {
                      @SuppressWarnings("null")
                      public void onClick(DialogInterface dialog, int which) {
                          // save drawing
                          drawView.setDrawingCacheEnabled(true);
                          // attempt to save
  
                          File imgGuardada = new File(MediaStore.Images.Media
                                  .insertImage(getContentResolver(), drawView
                                          .getDrawingCache(), "dibujo",
                                          "save image")); 
  
                          // feedback
                          if (imgGuardada !=null) {
                              Toast savedToast = Toast
                                      .makeText(
                                              getApplicationContext(),
                                              "La imagen ha sido guardada en el fondo del mar. Es broma, está en la galería.",
                                              Toast.LENGTH_SHORT);
                              savedToast.show();
                          } else {
                              Toast unsavedToast = Toast
                                      .makeText(
                                              getApplicationContext(),
                                              "La imagen no se ha guardado. Ha sido enviada a Mordor",
                                              Toast.LENGTH_SHORT);
                              unsavedToast.show();
                          }
                          drawView.destroyDrawingCache();
                      }
                  });
          saveDialog.setNegativeButton("Nope",
                  new DialogInterface.OnClickListener() {
                      public void onClick(DialogInterface dialog, int which) {
                          dialog.cancel();
                      }
                  });
          saveDialog.show();
      }
  </code></pre>
  
  <p>Thanks for your help guys!  </p>
  
  <p>Note: I have Android 4.4. Is it because of that? </p>