android - Exported Text File Invisible? -
I have an Android app where I'm writing data (CSV format) for file system for export. The app writes to the file without any problem (can I see it in the File Manager app)? Issue when I plug my device into my PC, the file does not appear I am writing to the download directory using this code to get the file path: I can export the file to Dropbox or email it, but I also want to be able to plug in through USB and drag it off the files system Are there. Can there be anything like this with permission? Thanks
Public file getDataStorageDir () {// Get the directory for the user's public image directory. File Basis = Environment GetensteinServiceJobac Directory (Environmental. DIRECTORY_DOWNLOADS); Base = new file (base, "F3F"); Base.mkdirs (); File file = new file (base.getAbsolutePath () + String.format ("/% s.txt", mRace.name)); Return file; }
Comments
Post a Comment