title: How do I save the name after generating QR code
body: <p>I am trying to make an app that generates QR Code.
  It works well but there is no text when it is saved. People would be confused after saving a few codes because of no name on it.</p>
  <p>If people generate QR code with &quot;Wikipedia.com&quot;, I want it saved with the name of &quot;Wikipedia.com&quot; at the photo gallery. What should I do?</p>
  <p><strong>MainActivity</strong></p>
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      private String inputValue;
      private String savePath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM) + &quot;/Camera/&quot;;
      private Bitmap bitmap;
      private QRGEncoder qrgEncoder;
      private ImageView qrImage;
      private EditText edtValue;
      private AppCompatActivity activity;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          qrImage = findViewById(R.id.qr_image);
          edtValue = findViewById(R.id.edt_value);
          activity = this;
  
  
  /**Barcode Generator*/
          findViewById(R.id.generate_barcode).setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
                  inputValue = edtValue.getText().toString().trim();
                  if (inputValue.length() &gt; 0) {
                      WindowManager manager = (WindowManager) getSystemService(WINDOW_SERVICE);
                      Display display = manager.getDefaultDisplay();
                      Point point = new Point();
                      display.getSize(point);
                      int width = point.x;
                      int height = point.y;
                      int smallerDimension = width &lt; height ? width : height;
                      smallerDimension = smallerDimension * 3 / 4;
  
                      qrgEncoder = new QRGEncoder(
                              inputValue, null,
                              QRGContents.Type.TEXT,
                              smallerDimension);
                      qrgEncoder.setColorBlack(Color.BLACK);
                      qrgEncoder.setColorWhite(Color.WHITE);
                      try {
                          bitmap = qrgEncoder.getBitmap();
                          qrImage.setImageBitmap(bitmap);
                      } catch (Exception e) {
                          e.printStackTrace();
  
                      }
                  } else {
                      edtValue.setError(getResources().getString(R.string.value_required));
                  }
              }
  
          });
  /**Barcode save*/
          findViewById(R.id.save_barcode).setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  if (ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) {
                      try {
                          boolean save = new QRGSaver().save(savePath, edtValue.getText().toString().trim(), bitmap, QRGContents.ImageType.IMAGE_JPEG);
                          String result = save ? &quot;Image Saved. Check your gallery.&quot; : &quot;Image Not Saved&quot;;
                          Toast.makeText(activity, result, Toast.LENGTH_LONG).show();
                          edtValue.setText(null);
                      } catch (Exception e) {
                          e.printStackTrace();
                      }
                  } else {
                      ActivityCompat.requestPermissions(activity, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 0);
                  }
              }
          });
      }
  }
  </code></pre>