Interesting. I've been considering spiking something similar just to play with polymer but wouldn't do the communication over http.
I'd be overtly concerned with security of the application in this regard. Also, completely ignoring all the java apis to allow integrating with the system isn't particularly a win in my mind e.g. app account managed from system settings (if such was needed), or sharing data with other apps via content provider.
I'd consider generated code that allowed communication via local broadcast manager with hook ins to the go code and the webview to establish some basics.
Doing long lists of items is likely to generate lots of garbage everywhere regardless of the approach taken (assuming no http comm) so that's a concern as well.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
I have added a Todo App based on the mobilehtml5app framework to the repo that demonstrates the use of Web Frameworks in building a rich HTML5 UI front-end for a Go app on mobile.
This app uses React.js & Bootstrap for the user-interface and uses BoltDB to persist data in the private app file storage space on Android. All the build steps like JSX compilation to JS, embedding assets using go-bindata, AAR generation and the Android build are performed using Gradle. This app has been built to use the native Chromium based WebView that is available in Android Kit Kat and above.