android - How to write a file on the internal storage next to the download folder? -


i not able write file internal storage of nexus 10, sits next folders "downloads", "movies", "music" , "pictures", directly inside root.

i create own folder application in root directory , store log files inside. how that?

thanks!

mediascannerconnection.scanfile(getactivity(), new string[] { file.getabsolutepath().tostring() }, null, null); 

this code updates file tree on usb device , makes correctly created files visible.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -