Android 截取出路径中的图片名称

其中path是图片的路径

String fileName = path.substring(path.lastIndexOf("/") + 1);

猜你喜欢

转载自blog.csdn.net/qq_27494201/article/details/135367836