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

2017-08-29 Thread Dan Ballard
same. > > If that works, you could modify golang.org/x/mobile/example/bind to > introduce a simple http.Get (or net.Dial) and see if that works. If so, you > have a basis for bisection. > > - elias > > > On Wednesday, August 16, 2017 at 4:54:58 PM UTC+2, Dan Ballard wrote

[go-nuts] Re: gomobile socket permissions

2017-08-16 Thread Dan Ballard
bile.go of https://github.com/s-rah/go-ricochet The actual connection should be happening in https://github.com/s-rah/go-ricochet/blob/master/vendor/github.com/yawning/bulb/conn.go Dial() at line 214 On Tuesday, August 15, 2017 at 8:58:21 AM UTC-7, Dan Ballard wrote: > > StrictMode.T

[go-nuts] gomobile socket permissions

2017-08-15 Thread Dan Ballard
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder(). permitAll().build(); StrictMode.setThreadPolicy(policy); Socket socket = new Socket("127.0.0.1", 5051); Works, no error. When I then: GoRicochetMobile.echoBot(privateKey); I get: 08-15 08:24:27.441 26959-26959/? I/GoLog: er

[go-nuts] Re: Attemping a native Go android app, running into gobind error

2017-06-26 Thread Dan Ballard
tps://godoc.org/golang.org/x/mobile/cmd/gobind should be updated with invocation examples? On Saturday, June 24, 2017 at 7:05:50 AM UTC-7, Dan Ballard wrote: > > I am working on creating an android app entirely in go using the Java og > bindings, as outlined in > https://github.com/golang

[go-nuts] Re: Attemping a native Go android app, running into gobind error

2017-06-26 Thread Dan Ballard
well, that wasn't so much work, created a code review in gerrit for the gobind GOROOT issue https://go-review.googlesource.com/c/46671/ On Saturday, June 24, 2017 at 7:05:50 AM UTC-7, Dan Ballard wrote: > > I am working on creating an android app entirely in go using the Java og >

[go-nuts] Re: Attemping a native Go android app, running into gobind error

2017-06-25 Thread Dan Ballard
d/os FAILED FAILURE: Build failed with an exception. It seems like half the imports I would expect to be there are not Any ideas? the ones that worked were: "Java/android/support/v7/app" gopkg "Java/RicochetMobile" "Java/RicochetMobile/databinding" On Satur