fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
25.26k stars 1.4k forks source link

Android and iOS #65

Closed ghost closed 5 years ago

ghost commented 5 years ago

The base framework can probably be compiled to ndk and iOS as a shared lib. Then go can be be compiled against it.

Or the traditional root of using gomonile but I think it will be too limiting.

Either way it is worth trying out.

andydotxyz commented 5 years ago

Mobile is on the cards for the framework in the future. As well as the compilation we would need to add some platform support - iOS and Android will handle certain things differently to desktop systems and we want to work seamlessly :)

hubyhuby commented 5 years ago

There is also android-go project that could be a good fite. They have managed to launch Nuklear already. https://github.com/xlab/android-go

andydotxyz commented 5 years ago

Great hint. Once we resolve #239 then we could look at mobile platforms properly.

hubyhuby commented 5 years ago

Hi @andydotxyz , I have asked on Max's project and he seems looking forward to give it a try : https://github.com/xlab/android-go/issues/29

andydotxyz commented 5 years ago

There is a new branch named feature/android where we have early versions of an android driver running. It’s using gomobile for now until we hit its limits. The nice thing is that you can use “go build” to compile a desktop app or “gomobile build” to build a mobile app. Exact same app code :). This will be released in 1.2 later in the year.

andydotxyz commented 5 years ago

Trying too capture those things required to complete mobile support:

andydotxyz commented 5 years ago

Removed TODO item duplicated in #413

andydotxyz commented 5 years ago

Moved theme detection to #472 as the APIs are it required brand new devices so not very common yet.

andydotxyz commented 5 years ago

That’s all the items in this ticket in. Still no keyboard support but that is in a separate ticket