Help save captured images

0

I'm finishing an app which captures an image with the camera of the device, I give it a file name and I keep it in a specific folder, until then everything is fine.

The 2 big problems that I can not solve:

  • When capturing the image and saving it in the specific folder, it saves it in bad quality, that is, it does not distinguish very well, it seems that it would be pixelated even if I do not save it and I only show it in the control ImageView , the quality is bad. How to solve this?

  • I need to create a folder but in the SD:

  • I used:

    File carpeta = new File(Environment.getExternalStorageDirectory()+"/miAppFolder"); 
    carpeta.mkdir();
    

    But what it does is create the folder in the memory of the device but not the SD.
    This I need so that from another desktop application, I can extract the images and store them on the PC.

    It should be noted that I am giving the necessary permissions and I also grant the permissions if the android version is equal to and greater than 6.0

        
    asked by Richard 29.04.2018 в 15:52
    source

    0 answers