Go on Android and iOS devices

Clone this repo:

Branches

  1. d2bd2a2 gl: provide dummy impl when cgo is disabled by Nigel Tao · 3 weeks ago master
  2. e47acb2 bind/java: Do not get ApplicationContext via reflection, ask for it when needed. by Tim Cooijmans · 12 days ago
  3. 6fa95d9 bind: keep package function comments in java file by Junda Liu · 7 weeks ago
  4. 32b2708 cmd/bind: add remaining Objc nullability specifiers by Mark Villacampa · 3 months ago
  5. ab05907 cmd/gomobile: add arg to set android api level by Chotepud Teo · 3 months ago

Go support for Mobile devices

The Go mobile repository holds packages and build tools for using Go on mobile platforms.

Package documentation as a starting point:

Caution image

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.