Android Question Phone LogCat

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Hello,
i want to save the logcat of phone library to a txt file.
I have two questions:
1 - Is possible to apply a filter?
2- I noticed that when the application, produce an error log, the logcat is empty. Is it true?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Is possible to apply a filter?
Yes. Split this string to get the arguments required for Filter mode: -v,raw,*:F,B4A:v

I noticed that when the application, produce an error log, the logcat is empty. Is it true?
No. The crash should be printed in the logs. It is possible that your program ends before the crash is read.

Note that LogCatData is one of the very few events that are not raised on the main thread.
 
Upvote 0
Top