I have an app where I want to be able to export to/import from CSV Files.
In a Use-Case I want to export data into a CSV File, connect the phone to a PC and edit the CSV there and re-import the file afterwards back into the app.
I am currently using a Motorola Razor I (latest android version) and no matter where I try to save the file, it does not appear to be public when connecting the phone to a computer (it's not there)
I can see the file on the android File Browser itself, so it is there, but in Windows Explorer the file is not there.
What would be a proper way to implement such a feature:
- Export to CSV
- Edit on Computer
- Reimport same file
I've used function getExternalDirectory()
and have also tried getExternalDirectoryPublic()
- in either cases the file doesn't appear on the computer.
Any hints highly appreciated!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…