Thread overview
D lang for android development
Aug 14, 2016
eugene
Aug 14, 2016
Karabuta
Aug 14, 2016
Seb
Aug 14, 2016
Joakim
Aug 15, 2016
eugene
August 14, 2016
Hello, everyone,
did you try to write apps in D for android?
Is it ok currently to write in D for android or there are issues or something?
August 14, 2016
On Sunday, 14 August 2016 at 17:19:17 UTC, eugene wrote:
> Hello, everyone,
> did you try to write apps in D for android?
> Is it ok currently to write in D for android or there are issues or something?

I think DlangUI has some initial support for Android. The developer even did a mindcraft demo (whatever that game is called :) ). Go to code.dlang.org and search for "dlangui" and check his Github repo
August 14, 2016
On Sunday, 14 August 2016 at 22:20:12 UTC, Karabuta wrote:
> On Sunday, 14 August 2016 at 17:19:17 UTC, eugene wrote:
>> Hello, everyone,
>> did you try to write apps in D for android?
>> Is it ok currently to write in D for android or there are issues or something?
>
> I think DlangUI has some initial support for Android. The developer even did a mindcraft demo (whatever that game is called :) ). Go to code.dlang.org and search for "dlangui" and check his Github repo

For the lazy people


Minecraft in D on Android: http://forum.dlang.org/post/mvcojnfustdtdavermon@forum.dlang.org

Building LDC on Android:
http://forum.dlang.org/post/ovkhtsdzlfzqrqneolyv@forum.dlang.org

Wiki pages:

http://wiki.dlang.org/Build_LDC_for_Android
http://wiki.dlang.org/LDC_cross-compilation_for_ARM_GNU/Linux
http://wiki.dlang.org/Minimal_semihosted_ARM_Cortex-M_%22Hello_World%22

There's probably more if you search a bit for it ;-)
August 14, 2016
On Sunday, 14 August 2016 at 17:19:17 UTC, eugene wrote:
> Hello, everyone,
> did you try to write apps in D for android?
> Is it ok currently to write in D for android or there are issues or something?

In addition to the links Seb gave you, check out these sample apps I ported that show how to call D functions using JNI:

https://github.com/joakim-noah/android/commit/111e9f66290b011ce5c6e2d9e928e4e5da6f1b70

I'm writing reggae files to make building those sample apps easy and debugging the Teapot sample app from the NDK now. Once that's done, I'll post an announcement about ldc support for Android going beta.
August 15, 2016
thanks