1

Is it possible to access android native code using javascript in the default android browser?

Regards, Dom

1 Answer 1

1

No, sorry.

You can create your own Android app that exposes Java objects to WebKit through the WebView widget. Also, you can link to Android apps from your Web content displayed "in the default Android browser" (whatever that might be for the user). And, you can arrange to have an app that you write respond to URLs that otherwise might go to a browser. But that's about it.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks CommonsWare! The following post would suggest this feature may be possible: mobilexweb.com/blog/… (see navigator.isApplicationInstalled(app_name, callback) ) Although it is undocumented so I guess not supported.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.