Thread overview
GTKD for android?
Sep 08, 2018
Josphe Brigmo
Sep 09, 2018
James
Sep 10, 2018
Joakim
September 08, 2018
I have an app I'm writing using GtkD on windows. Eventually I'd like to port it to android. Since I have never been able to actually get anything to work on android I'm curious if there are any demos with gtkD for android? I'm wondering if I just scrap the idea of using it because it won't port without a ton of work. Ideally I'd like to just cross compile and it all work out except for a few bugs.


September 09, 2018
On Saturday, 8 September 2018 at 02:59:48 UTC, Josphe Brigmo wrote:
> I have an app I'm writing using GtkD on windows. Eventually I'd like to port it to android. Since I have never been able to actually get anything to work on android I'm curious if there are any demos with gtkD for android? I'm wondering if I just scrap the idea of using it because it won't port without a ton of work. Ideally I'd like to just cross compile and it all work out except for a few bugs.

I don't think it can be currently in an easy way. Qt has better android support it seems. Dlangui programs can be cross-compiled. You could also write a seperate ui for android but still use D for the core of the program.
September 10, 2018
On Saturday, 8 September 2018 at 02:59:48 UTC, Josphe Brigmo wrote:
> I have an app I'm writing using GtkD on windows. Eventually I'd like to port it to android. Since I have never been able to actually get anything to work on android I'm curious if there are any demos with gtkD for android? I'm wondering if I just scrap the idea of using it because it won't port without a ton of work. Ideally I'd like to just cross compile and it all work out except for a few bugs.

The GtkD maintainer said a couple years ago he might try it when the Android support was better:

https://forum.dlang.org/post/o4rq0i$dur$1@digitalmars.com

I don't think anyone's tested it yet, do you know if Gtk supports Android well?

The DlangUI maintainer did get his GUI library working on Android, as James mentioned:

https://forum.dlang.org/thread/cdekkumjynhqoxvmgjze@forum.dlang.org