title: Get Uri from File or FilePath
body: <p>I have file in this path:</p>
  
  <pre><code>file:/storage/emulated/0/iWallet/photos/JPEG_20180119040510_972640968.jpg
  </code></pre>
  
  <p>I want to convert it to <code>android.net.Uri</code> and use it in this:</p>
  
  <pre><code>Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
      if (takePictureIntent.resolveActivity(getActivity().getPackageManager()) != null) {
          if (photoFile != null) {
              takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT,photoFile.toURI());
              startActivityForResult(takePictureIntent, REQUEST_TAKE_CAMIRA);
          }
      }
  </code></pre>