Blankj / Blankj/AndroidUtilCode
Help Needed: how to use readFile2String
Đang mở
help wanted
- Ngôn ngữ chính
- Java
- Star
- 33.6k
- Fork
- 10.6k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Describe the feature
How to use FileIOUtils.readFile2String function?
I wrote this:
```
String externalString = PathUtils.getExternalStoragePath();
String testFileString = FileIOUtils.readFile2String(PathUtils.join(externalString,"test.txt"));
# i also tried:
String testFileString = FileIOUtils.readFile2String("/storage/emulated/0/test.txt");
```
And the testFileString is null.
Could anyone tell me why?
Thanks.
## Reference
None
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.