android kotlin redme note10 pro
2021-08-22 本文已影响0人
次序
private fun returnResource(): Uri {
//从小米分享目录加载图片
val imagePath = "/storage/emulated/0/MiShare/2.jpg"
val myCaptureFile: File = File(imagePath)
return Uri.fromFile(myCaptureFile);
}