-
Notifications
You must be signed in to change notification settings - Fork 18k
x/mobile/app: Open(.) behavior in Java Activity #9422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
After rebuilding the Docker image, updating the mobile repo, and recompiling, I have found a new error message that may have something interesting log message.
I'm not entirely sure why the binder is getting involved in the |
I have isolated the problem. It appears when calling Go code from within an activity that is not a I'm going to create a patch for my needs, but I'm not sure if this is something that is expected to be supported in general (calling |
This should work, so it's a bug. If you intend to send a CL please let me know, otherwise I'll take a look. |
I don't expect to send a CL because of my limited knowledge of the JNI, so I would certainly appreciate you taking a look at it. Thanks! |
Tested manually by modifying example/libhello to read an asset file, and checking crawshaw's balloon app continues to work. Fixes golang/go#9422. Change-Id: I17b25d9456a4023c68be1de82ee071ea01299e68 Reviewed-on: https://go-review.googlesource.com/5680 Reviewed-by: David Crawshaw <crawshaw@golang.org>
Tested manually by modifying example/libhello to read an asset file, and checking crawshaw's balloon app continues to work. Fixes golang/go#9422. Change-Id: I17b25d9456a4023c68be1de82ee071ea01299e68 Reviewed-on: https://go-review.googlesource.com/5680 Reviewed-by: David Crawshaw <crawshaw@golang.org>
golang.org/x/mobile
(justgo get -u
'd it), and adevel
version of Go.darwin/amd64
forandroid/arm
.golang.org/x/mobile/app.Open()
in an net/http server response.logcat
.Logs:
Searching around suggests that
WIN DEATH
is caused when the application stops responding. Through effectivefmt.Println()
debugging, I was able to determine thatapp.Open()
does not return, but theWIN DEATH
error is always triggered.Note that I'm running the application on a Nexus 7 running Lollipop.
The text was updated successfully, but these errors were encountered: