Reputation: 9255
I have an application that creates a log file on external device and passes the log file path to the underlying ndk library for logging.
I am using Environment.MEDIA_MOUNTED.equals(state) before creating the log file to check whether the external storage is available for logging. My question is what will happen if the user mounts the device onto a computer after creating the log file?
Would my application still be able to access the log file?
Upvotes: 0
Views: 294