Android: Getting file name from camera?

前端 未结 3 715
耶瑟儿~
耶瑟儿~ 2020-12-28 23:31

I ran into an issue with something that I am probably just overlooking.

I want to take a picture from the surface preview of the camera, and save it to the sd_

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-29 00:04

    it doesn't save image? in my app this code saves image, maybe you use variable "filaname" to get image from sdcard? to use image from sdcard is better to save in variable, for examople, "fileUri" value of uri.toString, end get from sdcard file with uri Uri.parse(fileUri)..

提交回复
热议问题