We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Android example is here https://github.com/veandco/go-sdl2-examples/tree/master/examples/android . Thanks to static libs now it is really simple to build apk.
User needs to import "C" to export "main" function, https://github.com/veandco/go-sdl2-examples/blob/master/examples/android/main.go#L182 , and is used then in Java https://github.com/veandco/go-sdl2-examples/blob/master/examples/android/android/src/main/java/com/example/android/MyGame.java#L16 . Perhaps that can be somehow solved, i.e. with some function like SetMain.
import "C"
The text was updated successfully, but these errors were encountered:
Great work @gen2brain!
Sorry, something went wrong.
No branches or pull requests
New Android example is here https://github.com/veandco/go-sdl2-examples/tree/master/examples/android . Thanks to static libs now it is really simple to build apk.
User needs to
import "C"
to export "main" function, https://github.com/veandco/go-sdl2-examples/blob/master/examples/android/main.go#L182 , and is used then in Java https://github.com/veandco/go-sdl2-examples/blob/master/examples/android/android/src/main/java/com/example/android/MyGame.java#L16 . Perhaps that can be somehow solved, i.e. with some function like SetMain.The text was updated successfully, but these errors were encountered: