Documentation
¶
Overview ¶
A simple drum machine app.
Note: This demo is an early preview of Go 1.5. In order to build this program as an Android APK using the gomobile tool.
See http://godoc.org/golang.org/x/mobile/cmd/gomobile to install gomobile.
Get the drummachine and use gomobile to build or install it on your device.
$ go get -d github.com/rakyll/drummachine $ gomobile build github.com/rakyll/drummachine # will build an APK # plug your Android device to your computer or start an Android emulator. # if you have adb installed on your machine, use gomobile install to # build and deploy the APK to an Android target. $ gomobile install github.com/rakyll/drummachine
Additionally, you can run the sample on your desktop environment by using the go tool.
$ go install github.com/rakyll/drummachine && drummachine
Click to show internal directories.
Click to hide internal directories.