5 ms·
You didn't read his post to the end - you can include the Go binary into your normal Android app and then manually execute it. It certainly does allow distribut
by RyanZAG 13y ago
You didn't read his post to the end - you can include the Go binary into your normal Android app and then manually execute it. It certainly does allow distribution via Play Store and many apps currently available through the Play Store do similar things with Python and other languages.
Many apps also use this method as a way to get around GPL'd code by distributing the GPL executable as a separate runnable application inside the .apk (.zip) file which allows their app to be closed source while containing GPL code.
- pjmlp 13y ago> You didn't read his post to the end - you can include the Go binary into your normal Android app and then manually execute it. Yep, you are right, as I have seen too many of these workarounds. And what is the benefit? Bending ourselves just not to touch Java?! I rather be productive with the officially supported tools.
- RyanZAG 13y agoI wouldn't confuse productive with officially supported - sometimes an unofficially supported tool can be far more productive. I agree completely with productive though. Anybody choosing a language for any reason but the quality of the output is just wasting their own time. Nobody really cares what language you used at the end of the day, only what you produce with it.
- ithkuil 13y agosometimes its just the fun. If I could write android apps in Go I would play with it, and perhaps I would get some ideas about what to build on mobile platforms.
- vbsteven 13y agoIt's not about avoiding Java, it's about not having to rewrite your already written Go code in Java. I've used both Tor and pjsip libraries (both written in C) this way.