Updated Android (markdown)

Hajime Hoshi 2016-07-08 02:11:46 +09:00
parent 848a4b2f97
commit f6f57e4ae1

@ -73,7 +73,7 @@ func UpdateTouchesOnIOS(phase int, ptr int64, x, y int) {
Use `gomobile bind`, generate an aar file and import this to your Android Studio project as an external aar file. Here is the example command to build the module. Use `gomobile bind`, generate an aar file and import this to your Android Studio project as an external aar file. Here is the example command to build the module.
```sh ```sh
:; :; gomobile bind -target android -javapkg com.example.yourgame -o /path/to/android/studio/project/mobile.aar github.com/yourname/yourgame/mobile :; gomobile bind -target android -javapkg com.example.yourgame -o /path/to/android/studio/project/mobile.aar github.com/yourname/yourgame/mobile
``` ```
## Implement a class inheriting GLSurfaceView ## Implement a class inheriting GLSurfaceView