W wl Well-Known Member Licensed User Longtime User Sep 7, 2013 #1 Hi, In a previous thread I asked whether it is possible to view the logs with an Android app. It turns out that Jellybean (4.1) and onwards only allow logs to be shown when the device has been rooted. Hence my question: would it be possible for the application to read it's own logs ? Or should I write the log records myself somehow ? BTW: are the Android logfiles limited in space ? Or is there a mechanism in it that it automatically truncates the oldest records ? Thanks
Hi, In a previous thread I asked whether it is possible to view the logs with an Android app. It turns out that Jellybean (4.1) and onwards only allow logs to be shown when the device has been rooted. Hence my question: would it be possible for the application to read it's own logs ? Or should I write the log records myself somehow ? BTW: are the Android logfiles limited in space ? Or is there a mechanism in it that it automatically truncates the oldest records ? Thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 7, 2013 #2 You can read your own app logs. You can use LogCat object from the Phone library to do that. The logs are kept in a circular buffer (there is no limit). Upvote 0
You can read your own app logs. You can use LogCat object from the Phone library to do that. The logs are kept in a circular buffer (there is no limit).