Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

document the way to use gendex and dex.go for new GoNativeActivity.java behaviour#5387

Open
dolanor wants to merge1 commit intofyne-io:master
base:master
Choose a base branch
Loading
fromdolanor:master

Conversation

dolanor
Copy link

No description provided.

Copy link
Member

@JacalzJacalz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

FYI: We are planning on deprecating this tool here in favour of moving it intohttps://github.com/fyne-io/tools. I think I changed how the generation is done in that project.

Copy link
Member

@andydotxyzandydotxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Great additions thanks, but I think one of the docs is a bit misleading.

@@ -27,6 +27,11 @@
import android.widget.TextView;
import android.widget.TextView.OnEditorActionListener;

// GoNativeActivity is the java implementation that helps Go map to android via the NDK.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm not sure this first sentence is right - the activity is the entry point for our Android boot loader.
The NDK connects to this via C - so it's not really providing any connections itself I don't think?...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

What I meant (from my VERY limited understanding) is that it was the java SDK object that was a utility for Go to access via the C and the NDK.
I guess I don't know how to express it correctly :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Go accesses the Java object via NDK. The Java provides us certain functionality which is accessed through JNI and C functionality.
Is that clearer?

@dolanor
Copy link
Author

Ok.

What's the new procedure to generate a new dex, then?
I kind of need it

@andydotxyz
Copy link
Member

Ok.

What's the new procedure to generate a new dex, then? I kind of need it

We are in the process of movingcmd/fyne into thetools repo, but nothing else changes. So this could/should land as I believe the tools repo is pending a merge as things have got behind again. Is that about right@sdassow ?

@coveralls
Copy link

Coverage Status

coverage: 60.01% (-0.005%) from 60.015%
when pullinga3cfe7b on dolanor:master
into4a875d9 on fyne-io:master.

@sdassow
Copy link
Contributor

Yes, please. I've just done a merge, so we should be able to move ahead without too much delay:fyne-io/tools#24

@sdassow
Copy link
Contributor

Can you please file PR against the Fyne tools repo athttps://github.com/fyne-io/tools? That way you can also just file against themain branch there.

dolanor reacted with thumbs up emoji

@Jacalz
Copy link
Member

That reminds me, please note that PRs should go to the develop branch in this repository and that the PR template should be filled out accordingly, not removed.

dolanor reacted with thumbs up emoji

@andydotxyz
Copy link
Member

Thanks@Jacalz I missed that!

Jacalz reacted with thumbs up emoji

@dolanor
Copy link
Author

So thefyne CLI will be build fromfyne-io/tools.

So it's gonna base on the GoNativeActivity that would be referenced from thefyne.io/fyne/v2 dependency in the go.mod, right?
So if we want to integrate updates from a modifiedGoNativeActivity, we would need to add somereplace in thetools repo, right?

@Jacalz
Copy link
Member

I already implementing the support for updating the Dex stuff in that repository. It relies on the clonedfyne andtools repositories being in the same parent folder as it just does a relative lookup. No need to replace anything in the module.

@andydotxyz
Copy link
Member

Yes it should work the same way, though perhaps we need to document the additional assumption that "tools" and "fyne" repos are checked out next to each other.

Jacalz reacted with thumbs up emoji

@andydotxyz
Copy link
Member

Just so you know@dolanor we are tagging an alpha build of v2.6.0 today and the tools repo is ready to be the replacement for the internal tools. Possibly a good time to get this updated and landed too?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@andydotxyzandydotxyzandydotxyz requested changes

@JacalzJacalzJacalz left review comments

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@dolanor@andydotxyz@coveralls@sdassow@Jacalz

[8]ページ先頭

©2009-2025 Movatter.jp