i am trying to pass uri as File file = new File(Environment.getExternalStorageDirectory(), "/c4611_sample_explain.pdf"); Log.e( "error" ,file.toURI().toS