DlangUI on Android

Vadim Lopatin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Apr 23 04:42:49 PDT 2016


On Saturday, 23 April 2016 at 11:21:10 UTC, FrankLike wrote:
> On Friday, 22 April 2016 at 17:02:20 UTC, Vadim Lopatin wrote:
>
>> Does it crash instantly or shows app GUI for some time?
>> Is your smartphone arm-based?
> test-runner.apk is ok,but DLangUITetrisExample.apk and 
> DlangUIHelloWorld.apk ,only shows black color.
> HTC Android 5.02 ,it's arm-based,Not ok, sorry.
> Where is the log file? Path?

Log messages are in Android system log.
On older androids, application CatLog (available on Market) was 
able to store logs to file. But on latest android, app cannot 
read logs of other applications, and CatLog shows none useful.
You can try CatLog, but if it does not work (if you cannot see 
any messages with 'dlangui' tag), the only way to get logs I know 
is to use 'adb' utility from Android SDK.
Download Android SDK, unpack to some folder, use 
sdk/platform-tools/adb utility.
Connect device to pc using USB.
`adb logcat` from commandline shows log messages from device.
run `adb logcat > log.txt`, then start program which crashes on 
device, then press Ctrl+C to stop adb logcat. Now file log.txt 
should contain logs with crash.


More information about the Digitalmars-d-announce mailing list