Skip to content
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

Webview: javascript to scheme binding #349

Open
gassechen opened this issue Oct 4, 2020 · 2 comments
Open

Webview: javascript to scheme binding #349

gassechen opened this issue Oct 4, 2020 · 2 comments
Labels

Comments

@gassechen
Copy link

It's possible stablish a communication form webviev javascript code to scheme language how are javascript code binding to java in Android?

@ddunsmuir
Copy link
Contributor

Please see DemoHybridApp for an example of a hybrid app with a Javascript front end and Scheme functions used too.

If you are interested in backend Java code for Android specific low-level code, please see the Android Substitutions page for where to put your Java code to use it in your app. We mostly connect to low-level platform-specific code in modules. See the gps module (wiki) for an example.

I haven't worked on this, but it looks like you can skip over the JNI if you set your app like the DemoAndroidLNjScheme app.

@gassechen
Copy link
Author

I believe that a DemoAndroidLNjScheme is a method correct. I'll try.
Thanks

@mgorges mgorges changed the title Webviev javascript to scheme binding Webview: javascript to scheme binding Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants