Skip to content

Show Android activites #579

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

Closed
ghost opened this issue Aug 8, 2023 · 4 comments
Closed

Show Android activites #579

ghost opened this issue Aug 8, 2023 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 8, 2023

  • Possible?

  • If yes, how?

  • Examples?

  • If not, what are the blockers?

  • Possible to solve them?

@mahesh-hegde
Copy link
Contributor

Never tried really. I mostly envisioned "headless" libraries.

You might try to call an activity with an intent and see what happens.

@ghost ghost changed the title Launch Android activites Show Android activites Aug 9, 2023
@ghost
Copy link
Author

ghost commented Aug 9, 2023

"Launch" was not what I had in mind, but including for example MuPDF viewer (an android library) in a Flutter screen.

@mahesh-hegde
Copy link
Contributor

mahesh-hegde commented Aug 9, 2023

You may be looking at https://docs.flutter.dev/platform-integration/android/platform-views

If you need interop of platform view with JNIgen, things may break due to initialization order. Please report them. Again its an advanced use case and not yet on our radar.

@HosseinYousefi HosseinYousefi transferred this issue from dart-archive/jnigen Nov 17, 2023
@HosseinYousefi HosseinYousefi moved this to Backlog in JNIgen tracker Apr 11, 2024
@HosseinYousefi
Copy link
Member

This is possible. Here's an example I tried with showing a webview using JNIgen: https://github.com/HosseinYousefi/webview_plugin

We're however going to make this workflow more developer friendly (#699).

@github-project-automation github-project-automation bot moved this from Backlog to Done in JNIgen tracker May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants