On my previous post I mentioned how to generate a log entry from your Delphi app on Android devices:
uses AndroidApi.Log; var LMarshaller: TMarshaller; begin LOGI(TMarshaller.AsAnsi(‘Hello World’).ToPointer)
But how do you actually get hold of Android’s log output?
You can view the log stream on a console by entering this command:
adb.exe logcat
adb.exe is part of the Android SDK and usually comes with Delphi XE5:
C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\platform-tools\adb.exe
A console log might look a bit messy though (at least to me), so you might try this free tool, which even lets you filter the log stream: