it is possible to evaluate the code when execution is stopped at the breakpoint ... which allows you to insert code there that can then export using the specified Bitmap descriptor (provided that the active application has already been granted write permission). to external storage).
this will be the code to insert and evaluate, where bitmap is the handle to export:
try { FileOutputStream output = new FileOutputStream(new File(Environment.getExternalStorageDirectory().toString(), "test.jpg")); bitmap.compress(Bitmap.CompressFormat.JPEG, 100, output); output.flush(); output.close(); } catch (Exception e) { e.printStackTrace(); }
and this is how it should look:

the exported image can then be downloaded using "Device File Explorer" from /mnt/sdcard .
Martin Zeitler
source share