Android-TiffBitmapFactory icon indicating copy to clipboard operation
Android-TiffBitmapFactory copied to clipboard

getting bitmap value null for decodePath

Open Ramaraju1992 opened this issue 4 years ago • 1 comments

Hi Team, Getting bmp value null for below implementation.

String filePath = "file:///data/user/0/com.app.doctor/cache/com.ciscowebex.sdk.downloads/thumb-c0d0e7e6-0e90-43e6-b36a-2ad684b0f5fd-file_example_TIFF_1MB1402900616ORIGINAL_Aircraft_Rescue_Firefighting_training.tiff";

Bitmap bmp = TiffBitmapFactory.decodePath(filePath);
imageView.setImageBitmap(bmp);

kindly help me with this.

Ramaraju1992 avatar Jul 27 '21 14:07 Ramaraju1992

Sorry for long replay) could you provide some logs? Also why path to file is so strange? do you use content provider to get file?

Beyka avatar Mar 13 '22 14:03 Beyka