0

Ok In an android vebview I have a java method. Is it possible that when a button on the web page being viewed is hit to call that method? If so can you point me in the right direction?

I have done this in all java-script but now my method is in java. Unless there is a way to convert the java method to java-script. I don't know just rambling there.

cross post url: http://groups.google.com/group/android-developers/browse_thread/thread/d0a72c8414871d72?hl=en#

1 Answer 1

1

Yes, it's possible. There are quite a few examples that would help you.

One of them: http://techdroid.kbeanie.com/2010/10/android-webview-javascript-and-css.html

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

1 Comment

ok For some reason, (Hunger, Fatigue, Brain Fart) I missed the whole binding section. Thanks I got it.

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.