how to convert uri to file in android code example Example: create file from uri File(uri.getPath());