B4A Question [SOLVED] Starter Service doe not appear in running services - Jmu5667 (first post)    Feb 15, 2024 Attached is the logcat file from the device is you search for criticalmessenger using notepad++ you will see what is going on. B4A Code Snippet Parsing your apps logs - Erel    Jul 23, 2019   (13 reactions) It is possible to access your apps logs with LogCat from the Phone library. Note that it doesn't require any permission however you cannot use it to read the logs of other apps. The LogCatData event is raised on a different thread. This makes it a bit more difficult to work with this event if you wa B4i Question b4i LogCat - AllanH    Jun 05, 2021 Is there an equivalent way to capture the LogCat for debugging.
cf https://www.b4x.-your-apps-logs.107936/#content
In the Android version of my app, I can send a debug email to me with the LogCat data
I'd like to do the same in the iPhone version.
Many thanks B4A Question cannot catch error: measureLimit (973) is out of start (0) and limit (58) bounds - peacemaker (first post)    Sep 29, 2020 Yes, showing logcat text by:
Private Sub logcat_LogCatData (Buffer() As Byte, Length As Int)
Dim a As String = BytesToString(Buffer, 0, Length, "utf8")
logs.Append(a)
others.AddToLog(a) ' sending to Main.Add_Log
If logs.Length > 15000 Then
logs.Remove(0, logs.Length - 1400 B4A Question [Solved] Logs no longer showing over USB, but do over B4A-Bridge - swChef (first post)    Feb 14, 2020   (1 reaction) Installed Android Studio. Logcat works there.
But still not with c:\android\platform-tools\adb.exe. (adb logcat) in a cmd window. Nor with the studio's install of the platform tool adb.
What does work is to open a shell (adb shell) then command (logcat). And (adb shell -x logcat) works, too.
Turns o B4A Question Answered: LogCatStart - event not firing - Lee Gillie CCP    Oct 07, 2015 Phone.LogCat is very short on examples. I am trying to capture 5,000 characters in a round robin. In this way, at any moment I can capture recent LOGCAT from devices running the software in the field.
From a module named Globals:
Sub Process_Globals
...
Private logcat As LogCat
B4A Question Problem with LogCatData event - Erel (first post)    Mar 30, 2015   (1 reaction) You don't need to use the Threading library. Just make sure to remember that unlike all other events in B4A, this event is raised on a different thread.
Your code is very inefficient. You should use an TextWriter to append the data to an already open file and call flush from time to time.
LogCat w B4A Question Layer-3 messages in Android - sasidhar (first post)    Dec 14, 2017 Hi,
Logcat with radio buffer gives only radio information which android already providing thru APIs.we need low level information wrt network connections and controlling protocols.
Some apps as mentioned above providing layer 3 messages in android which requires rooted device which is fine.
Thanks
S B4A Question MediaPlayer Logcat problem - Erel (first post)    Nov 29, 2020   (1 reaction) Not sure what you mean. You should use B4A-Bridge or USB debug mode.
Post the code and the logs. B4A Question Threading Library: Dim As Thread - Erel (first post)    Oct 31, 2021   (1 reaction) LogCat, which is a special case, will raise the event on a background thread. You can use CallSubDelayed to delegate the event to the main thread. Page: 1   2   3   4   5   6   7   Powered by ColBERT |