String, getFileName(URI uri) Extract the file-name portion of a URI. String path = uri.toString(); int lastSlashIndex = path.lastIndexOf("/"); return path.
確定! 回上一頁