[mirror] Go on Mobile https://golang.org/x/mobile
Go to file
Hyang-Ah (Hana) Kim 136fa9bbbb bind/java: reenable asset access.
This is done by moving app.Context to internal/mobileinit,
introducing mobileinit.SetCurrentContext and,
making bind/java depend on it.

TODO: check gomobile bind's proguard rule - context lookup
was implemented through reflection on android.app.AppGlobals class.

Change-Id: Ieb6ad503eeef8c2c1c5836a21c667938c5a701a2
Reviewed-on: https://go-review.googlesource.com/12279
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-07-16 21:15:37 +00:00
app bind/java: reenable asset access. 2015-07-16 21:15:37 +00:00
asset bind/java: reenable asset access. 2015-07-16 21:15:37 +00:00
bind bind/java: reenable asset access. 2015-07-16 21:15:37 +00:00
cmd cmd/gomobile: use new -pkgdir flag 2015-07-16 20:10:22 +00:00
event app: rename EndDraw to EndPaint. 2015-07-16 03:33:11 +00:00
example example/network: rewrite to use event loop 2015-07-16 20:19:15 +00:00
exp bind/java: reenable asset access. 2015-07-16 21:15:37 +00:00
geom app: use one thread for both GL and other UI C code. 2015-06-26 07:43:17 +00:00
gl gl/glutil: move to exp/gl/glutil. 2015-07-01 11:41:50 +00:00
internal/mobileinit bind/java: reenable asset access. 2015-07-16 21:15:37 +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 gitignore: add apk and app to the ignore list 2015-06-30 15:15:53 +00: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
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 doc: fix whitespace between stable and exp packages 2015-06-22 00:54:25 +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.