calling a client side java method from server side html button?
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 jus开发者_高级运维t rambling there.
cross post url: http://groups.google.com/group/android-developers/browse_thread/thread/d0a72c8414871d72?hl=en#
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
精彩评论