goki.dev/mobile@v0.5.8/README.md (about)

     1  # Go support for Mobile devices
     2  
     3  [![Go Reference](https://pkg.go.dev/badge/golang.org/x/mobile.svg)](https://pkg.go.dev/golang.org/x/mobile)
     4  
     5  The Go mobile repository holds packages and build tools for using Go on mobile platforms.
     6  
     7  Package documentation as a starting point:
     8  
     9  - [Building all-Go apps](https://golang.org/x/mobile/app)
    10  - [Building libraries for SDK apps](https://golang.org/x/mobile/cmd/gobind)
    11  
    12  ![Caution image](doc/caution.png)
    13  
    14  The Go Mobile project is experimental. Use this at your own risk.
    15  While we are working hard to improve it, neither Google nor the Go
    16  team can provide end-user support.
    17  
    18  This is early work and installing the build system requires Go 1.5.
    19  Follow the instructions on
    20  [golang.org/wiki/Mobile](https://golang.org/wiki/Mobile)
    21  to install the gomobile command, build the
    22  [basic](https://golang.org/x/mobile/example/basic)
    23  and the [bind](https://golang.org/x/mobile/example/bind) example apps.
    24  
    25  
    26  # Developer info
    27  
    28  
    29  ## Android
    30  
    31  After any updates to GoNativeActivity.java, you need to run `go generate` in `cmd/gomobile` which uses `gendex.go` to generate `dex.go`, which has the bindings to access the java functions.
    32  
    33  
    34  --
    35  
    36  Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.
    37  
    38  * Bugs can be filed at the [Go issue tracker](https://golang.org/issue/new?title=x/mobile:+).
    39  * Feature requests should preliminary be discussed on
    40  [golang-nuts](https://groups.google.com/forum/#!forum/golang-nuts)
    41  mailing list.