Save bitmap to location

前端 未结 19 2701
悲哀的现实
悲哀的现实 2020-11-22 00:20

I am working on a function to download an image from a web server, display it on the screen, and if the user wishes to keep the image, save it on the SD card in a certain fo

19条回答
  •  误落风尘
    2020-11-22 00:46

    outStream = new FileOutputStream(file);
    

    will throw exception without permission in AndroidManifest.xml (at least in os2.2):

    
    

提交回复
热议问题