Re: [go-nuts] Re: gomobile socket permissions

2017-08-29 Thread Dan Ballard
Hey thanks! I got it to work! On Wed, Aug 16, 2017 at 8:41 AM Elias Naur wrote: > Hi, > > Have you tried the golang.org/x/mobile/example/network example? It's a > "pure" Go app that doesn't use Java bindings, but its network access > properties should be the same. > > If that works, you could mo

[go-nuts] Re: gomobile socket permissions

2017-08-16 Thread Elias Naur
Hi, Have you tried the golang.org/x/mobile/example/network example? It's a "pure" Go app that doesn't use Java bindings, but its network access properties should be the same. If that works, you could modify golang.org/x/mobile/example/bind to introduce a simple http.Get (or net.Dial) and see i

[go-nuts] Re: gomobile socket permissions

2017-08-16 Thread Dan Ballard
https://github.com/dballard/AndroidOD is the Java side Manifest https://github.com/dballard/AndroidOD/blob/master/app/src/main/AndroidManifest.xml http://schemas.android.com/apk/res/android"; package="im.ricochet.androidod"> Connect Activity https://github.com/dballard/AndroidOD/blob/

[go-nuts] Re: gomobile socket permissions

2017-08-15 Thread Elias Naur
I've only had problems when I forgot to ask for android.permission.INTERNET whic I assume you have. Can you post a more complete program that demonstrates the problem? - elias On Tuesday, August 15, 2017 at 5:58:21 PM UTC+2, Dan Ballard wrote: > > StrictMode.ThreadPolicy policy = new StrictMod