[mirror] Go on Mobile
https://golang.org/x/mobile
383d14d1a3
The gomobile bind command outputs an .aar file ready to include in an Android project. If the including project use the minifyEnabled gradle option the field go.Seq.memptr will be removed since it is only referenced from C code. Instruct the minifier to keep all go.* java code by adding an appropriate proguard.txt file to the .aar file. Change-Id: Ia1e89a5d8f4b4f349f9c2cf4d0dba2628557fdf9 Reviewed-on: https://go-review.googlesource.com/9802 Reviewed-by: David Crawshaw <crawshaw@golang.org> |
||
---|---|---|
app | ||
audio | ||
bind | ||
build | ||
cmd | ||
event | ||
example | ||
f32 | ||
font | ||
geom | ||
gl | ||
sensor | ||
sprite | ||
testdata | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
Dockerfile | ||
LICENSE | ||
PATENTS | ||
README.md | ||
codereview.cfg |
README.md
Go support for Mobile devices
The Go mobile repository holds packages and build tools for using Go on Android.
This is early work and installing the build system requires Go 1.5. Follow the build instructions on godoc.org/golang.org/x/mobile/cmd/gomobile to install the gomobile command and build the basic example.
--
APIs are currently very limited, but under active development. Package documentation serves as a starting point:
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.