April 23, 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.
April 23, 2016
On Saturday, 23 April 2016 at 11:42:49 UTC, Vadim Lopatin wrote:
> [...]

Thank you.
But why nothing to be shown,only black color?

April 23, 2016
On Saturday, 23 April 2016 at 12:45:01 UTC, FrankLike wrote:
> On Saturday, 23 April 2016 at 11:42:49 UTC, Vadim Lopatin wrote:
>> [...]
>
> Thank you.
> But why nothing to be shown,only black color?

Probably something is wrong with OpenGL.
E.g. OpenGL ES3 is not supported.
Log can should failed opengl calls.

April 23, 2016
On Saturday, 23 April 2016 at 14:35:55 UTC, Vadim Lopatin wrote:
> On Saturday, 23 April 2016 at 12:45:01 UTC, FrankLike wrote:
>> On Saturday, 23 April 2016 at 11:42:49 UTC, Vadim Lopatin wrote:
>>> [...]
>>
>> Thank you.
>> But why nothing to be shown,only black color?
>
> Probably something is wrong with OpenGL.
> E.g. OpenGL ES3 is not supported.
> Log can should failed opengl calls.

Waiting for the new apk....

Thank you..
April 23, 2016
On Saturday, 23 April 2016 at 02:48:10 UTC, Vadim Lopatin wrote:
> On Friday, 22 April 2016 at 18:49:24 UTC, Laeeth Isharc wrote:
>> This is a very exciting development.  (And impressive in the 'consequent' department, as the Germans say - you said you would have DlangUI ported to Android some weeks after the working compiler, and that's what you did!).
>
> It took about one week to make DlangUI android backend once I managed to build NativeActivity example by Joakim's instructions.
>
> I would say it will take a week or too to make iOS backend once we have working compiler for iOS (in my estimations it will have 1K-2K lines of D code and 1K-2K lines of obj-c code.
>
> Unfortunately, I have no experience with objective C neither with iOS programming.
>
> Android port was easy for me because DlangUI was a kind of port/reimplementation of my C++ cross platform GUI library I used for my CoolReader GL project (e-book reader).
>
>> Might be useful for me to port some D code for internal enterprise apps to Android that currently runs on linux (I recognise how experimental it is, but I'm okay with that since mobile is just nice to have, and not yet necessary).
> Please let me know issue you face when using DlangUI for mobile development.
>
>> Will you be at dconf?
> No, I'm not planning to participate.
> D is just a hobby for me.

Anyone interested in taking DlangUI and turning it into something like Swing/JavaFX for D?
April 24, 2016
On Saturday, 23 April 2016 at 18:16:38 UTC, Chris wrote:

> Anyone interested in taking DlangUI and turning it into something like Swing/JavaFX for D?

What exactly do you mean by that?

April 24, 2016
On Sunday, 24 April 2016 at 06:19:14 UTC, thedeemon wrote:
> On Saturday, 23 April 2016 at 18:16:38 UTC, Chris wrote:
>
>> Anyone interested in taking DlangUI and turning it into something like Swing/JavaFX for D?
>
> What exactly do you mean by that?

Embrace DlangUI or something based on it in the same way DUB was embraced. Atm, only Vadim works on it as a hobby. It would be a pity to see it come to a standstill one day - for what ever reason. I think a D based UI is important, especially now that D is getting some attention.
April 25, 2016
On Sunday, 24 April 2016 at 11:57:18 UTC, Chris wrote:
> On Sunday, 24 April 2016 at 06:19:14 UTC, thedeemon wrote:
>> On Saturday, 23 April 2016 at 18:16:38 UTC, Chris wrote:
>>
>>> Anyone interested in taking DlangUI and turning it into something like Swing/JavaFX for D?
>>
>> What exactly do you mean by that?
>
> Embrace DlangUI or something based on it in the same way DUB was embraced. Atm, only Vadim works on it as a hobby. It would be a pity to see it come to a standstill one day - for what ever reason. I think a D based UI is important, especially now that D is getting some attention.

+1
April 26, 2016
On Thursday, 21 April 2016 at 13:28:18 UTC, Vadim Lopatin wrote:
> You can download sample APK: https://sourceforge.net/projects/crengine/files/DlangUI/

New example - Minecraft-like 3D application.

It's demo of dlangui Scene3d - simple 3D engine.

On Android works a bit slow, and with artifacts. But works...

To try it on desktop, use `dub run dlangui:dminer`

Another Scene3d example: `dub run dlangui:d3d`


1 2 3
Next ›   Last »