Hello All,
I want to store the log file in mobile phone and user can able to access the log file. Because the only way to find error.
Ex: If any error occurs in my app, We just tell the customer to send the log file and can identify which place we did the mistake.
Now question is What's the best place to store the log file?
1. If we choose
DirInternal, Users can't able to access the file.
2. If we choose
DirDefaultExternal, From Android version 11, Users can't able to see the files inside the "Android" Folders. (Samsung Mobile Phones, I did not worked with other mobile.)
3. If we choose
DirRootExternal, From Android version 11, Users can't able create folders in it.
Any other Suggestion?
Thanks
And I used below class to write log.
This is a simple logger class i use to help with debugging. It has the advantage of the entries being time stamped to see when they happen as well as creating a permanent record in a txt file. When debugging the entries are also written to the log window. The log file uses the day date as part...