[ANN] android-go: Full Golang Bindings for Android NDK API with Examples

1,146 views
Skip to first unread message

Maxim Kupriianov

unread,
May 28, 2016, 2:11:27 PM5/28/16
to golang-nuts
The android-go project aims to provide a platform (namely an SDK) for
writing native Android apps in Go programming language. All things here were
designed to be less coupled as possible, thus maintaining a great level of
flexibility while keeping things simple and easy to use. The approach and tools
are different from gomobile, but the latter has inspired me a lot.


Comments and ideas are welcome!
There are two example apps and one demo:

--
Regards,
Maxim Kupriianov

charr...@gmail.com

unread,
May 28, 2016, 2:37:21 PM5/28/16
to golang-nuts
First of all thank you! Looks like it significantly innovates further from gomobile
Secondly there's plenty of unannounced generators. :) But still super inspiring, you
got even GL ES. Maybe some simple game would be a fun project.

Maxim Kupriianov

unread,
May 28, 2016, 2:58:05 PM5/28/16
to golang-nuts, charr...@gmail.com
Nah, there's just one unannounced generator, but with various configs (android.yml, egl.yml, etc) respectively.

> Looks like it significantly innovates further from gomobile

Yes, I hope they'll end with some modular/layered structure one day so the framework itself will be more customizable. For example,
be able to replace EGL/GL contexts with something else and build for platform-23 would be a nice features to have. Along with 20+ other features that
currently are unavailable due to the project's design.

That's why there is app package [1] that does almost the same as x/mobile/app but using the most naive and simple way. I tried to incorporate these android bindings into gomobile (see patch [2]) and they work well. But anyways, I'd like to have much more control on the ANativeWindow and queues.


> you got even GL ES

That's a bonus. :)

Maxim Kupriianov

unread,
May 30, 2016, 9:15:21 AM5/30/16
to golang-nuts
There is a comment on Reddit that brings up an important issue with my opinion about gomobile:

Just to make it clear, because my original text in readme may seem a bit bullying.
Reply all
Reply to author
Forward
0 new messages