gomobile icon, storage, startup warning

51 views
Skip to first unread message

hermanb...@gmail.com

unread,
Apr 23, 2020, 11:51:35 AM4/23/20
to golang-nuts
I want to build a simple game about permutations, and gomobile native looks like a relief! (I resent having 10 nested folders and 4 configuration files just to get started). I would love to build and publish an small game in Go :)

I have a few questions, perhaps someone here can help me with them:
- Is it possible to set an app icon? (I tried adding one in the manifest, but it said manual icons were not supported).
- What would be the best way to store app state? (in this case the puzzle state) I was thinking about asking for file permissions, and then use some deterministic procedure to find a suitable location to store a small json file.
- When I first launch an app, it gives a warning that the app was built for an older platform, can I get rid of this? I believe I updated my android SDK and NDK to the latest version.

Herman Bergwerf

unread,
Apr 23, 2020, 12:41:25 PM4/23/20
to golang-nuts
For the icons I found out about `assets/icon.png` by looking at the
source code, unfortunately it has a small side-effect for me
(https://github.com/golang/go/issues/38615)
> --
> You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/c8Htf-cU6XA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e7b54d1e-0cc8-46ee-9461-47a6cfe82dc7%40googlegroups.com.

hermanb...@gmail.com

unread,
Apr 23, 2020, 12:43:14 PM4/23/20
to golang-nuts
For the icons I found out about `assets/icon.png` by looking at the
source code, unfortunately it has a small side-effect for me
(https://github.com/golang/go/issues/38615)

Reply all
Reply to author
Forward
0 new messages