- Go+v23+Mobile
- Heavily inspired by volley, though this utilizes the v23 network discovery API to simplify setup
- For more information on v23, sign up here
sudo apt-get install libegl1-mesa-dev libgles2-mesa-dev libx11-dev # https://github.com/golang/mobile/blob/master/app/x11.go#L15
go get github.com/asimshankar/triangles
$GOPATH/bin/triangles --logtostderr
go get github.com/asimshankar/triangles
$GOPATH/bin/triangles --logtostderr
Requires the Android SDK to be installed. Easiest way is to install Android Studio. After that:
go get golang.org/x/mobile/cmd/gomobile
gomobile init
go get github.com/asimshankar/triangles
# Connect the Android device via USB
gomobile install github.com/asimshankar/triangles
# And see the application's logs.
adb logcat *:S GoLog:*
- Become an Apple app developer (get an apple ID, device auth, etc.)
- Install XCode, perhaps:
xcode-select --install
- Get git
- Build the mobile app: More details on the GoMobile Wiki
go get golang.org/x/mobile/cmd/gomobile
gomobile init
go get github.com/asimshankar/triangles
gomobile build --target=ios github.com/asimshankar/triangles
This will generate triangles.app
- Start XCode
- Plugin an iOS device to your USB port
- Navigate the XCode menus: Window --> Devices
- Select the device and then click the
+
icon on Installed Applications to selecttriangles.app