I hope this can help you: File file = new File(selectedPath); int file_size = Integer.parseInt(String.valueOf(file.length()/1024));.
確定! 回上一頁