AscySoft Active Member Licensed User Longtime User Aug 30, 2012 #1 Hi Sorry if i post in wrong thread, I don't know where to post this sort of question. Or if you prefer, I will PM you. A question for Erel i think... I have done an (vb.Net Framework) application (like B4A) who issued different adb commands when a device is connected(copy files 2/from device etc) What I need right now is how to display a logcat from device (like your b4a "Logs tab") Could you share some source code or something from b4a code for this? In short, an code example with logcat-adb related command, not another application (I will integrate it into mine) PS:C# will be ok, too. PPS: Of corse I know how to execute a adb command, although your code is much more complex (dynamically detecting/working with multiple devices...I would love that, too )
Hi Sorry if i post in wrong thread, I don't know where to post this sort of question. Or if you prefer, I will PM you. A question for Erel i think... I have done an (vb.Net Framework) application (like B4A) who issued different adb commands when a device is connected(copy files 2/from device etc) What I need right now is how to display a logcat from device (like your b4a "Logs tab") Could you share some source code or something from b4a code for this? In short, an code example with logcat-adb related command, not another application (I will integrate it into mine) PS:C# will be ok, too. PPS: Of corse I know how to execute a adb command, although your code is much more complex (dynamically detecting/working with multiple devices...I would love that, too )
Erel B4X founder Staff member Licensed User Longtime User Aug 31, 2012 #2 I'm sorry but I cannot post code from the IDE. Basically it executes the ADB logcat command and shows the response. This of course should be done from a different thread. Upvote 0
I'm sorry but I cannot post code from the IDE. Basically it executes the ADB logcat command and shows the response. This of course should be done from a different thread.
AscySoft Active Member Licensed User Longtime User Aug 31, 2012 #3 I understand, is OK But could you be kind to give me only the adb command syntax for logcat? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2012 #4 For filtered logs: Code: Copy adb logcat -v raw *:F B4A:V Remove *:F B4A:V for unfiltered logs. Upvote 0
AscySoft Active Member Licensed User Longtime User Sep 2, 2012 #5 Thank you so much. :sign0188: Upvote 0