[mirror] Go on Mobile https://golang.org/x/mobile
Go to file
Elias Naur 383d14d1a3 mobile/cmd/gomobile: add proguard.txt to gomobile bind .aar files
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>
2015-05-06 22:49:45 +00:00
app app: introduce Config and start registration 2015-05-06 17:32:53 +00:00
audio audio: have a global audio device and context 2015-05-06 19:07:41 +00:00
bind app: introduce Config and start registration 2015-05-06 17:32:53 +00:00
build build/androidtest.bash: script to run all tests in a repository on an 2014-12-18 00:48:16 +00:00
cmd mobile/cmd/gomobile: add proguard.txt to gomobile bind .aar files 2015-05-06 22:49:45 +00:00
event mobile/app: identify touches by ID to enable multitouch 2015-04-29 16:53:16 +00:00
example example/basic,example/sprite: give a reference to gomobile installation 2015-05-01 20:58:37 +00:00
f32 mobile: add import comments. 2014-12-10 01:59:04 +00:00
font mobile: add missing canonical import paths 2015-05-05 03:13:45 +00:00
geom app: introduce Config and start registration 2015-05-06 17:32:53 +00:00
gl gl: Improve API signatures to match spec, improve docs. 2015-03-30 19:58:17 +00:00
sensor mobile: add missing canonical import paths 2015-05-05 03:13:45 +00:00
sprite sprite/glsprite: add very basic package docs 2014-12-12 14:44:04 +00:00
testdata example/sprite: make example lives 2014-12-22 13:10:48 +00:00
.gitattributes mobile: copying .gitattributes to all subrepositories 2014-12-23 23:23:25 +00:00
.gitignore convert .hgignore to .gitignore. 2014-12-08 10:43:03 +11:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTING.md doc: add CONTRIBUTING.md 2015-02-18 23:42:31 +00:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
Dockerfile Dockerfile: update go version to 3f4de49. 2015-04-20 17:34:49 +00:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README.md mobile: add gomobile to README 2015-05-05 17:44:58 +00:00
codereview.cfg mobile: add codereview.cfg 2015-03-18 17:03:44 +00:00

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.