Skip to content

Instantly share code, notes, and snippets.

@nobonobo
Last active December 6, 2015 03:17
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nobonobo/5bc20ccfc1a92cb61a76 to your computer and use it in GitHub Desktop.
Save nobonobo/5bc20ccfc1a92cb61a76 to your computer and use it in GitHub Desktop.
Goで子供向けピアノを作ってみた。iOS/Android/Desktopで動くよ!
go get -u golang.org/x/mobile/cmd/...
go get -u github.com/nobonobo/gomobileapp
gomobileapp init
go get -d github.com/nobonobo/nobopiano
# for iOS
gomobileapp build -target ios github.com/nobonobo/nobopiano
# 実機にnobopiano.appをインストール
# for Android
gomobileapp build -target android github.com/nobonobo/nobopiano
# 実機にnobopiano.apkをインストール
# for Desktop
gomobileapp build -target desktop github.com/nobonobo/nobopiano
./nobopiano
# gomobileappの詳細は http://golang.rdy.jp/2015/11/01/gomobileapp/
@nobonobo
Copy link
Author

nobonobo commented Nov 2, 2015

Androidの実機で初めて試したけど遅延がでかいですね。コンマ何秒か遅れる。

@nobonobo
Copy link
Author

nobonobo commented Nov 3, 2015

特にxperiaさん遅すぎ。nexus系でどうぞ。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment