commit | eadadb8667ee7ba0774c59bcd148a8b7882b53d3 | [log] [tgz] |
---|---|---|
author | David Crawshaw <crawshaw@golang.org> | Tue Sep 01 16:49:30 2015 -0400 |
committer | David Crawshaw <crawshaw@golang.org> | Mon Sep 14 17:30:52 2015 +0000 |
tree | c8c848edf6fa962064facef127c541a26ae817c4 | |
parent | 65551d85b66819e6ba0ea67327e72a05c9a779b3 [diff] |
internal/mobileinit: standardize JNIEnv* access Replace the direct access to JavaVM* and the global android Context instance with a function responsible for running attached correctly to the JVM. This saves having to replicate the logic for attaching an OS thread to the JVM. While here, check for any unhandled Java exceptions. This supersedes cl/11812. Change-Id: Ic9291fe64083d2bd983c4f8e309941b9c47d60c2 Reviewed-on: https://go-review.googlesource.com/14162 Reviewed-by: Nigel Tao <nigeltao@golang.org>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.