Thanks Sushil, this was a very informative article. Do you think I can use this method to send a double-click event from Android? My company has a web page that uses Javascript Double-Click for certain items and I am have a terrible time trying to figure out how to SEND a double-click even from Android to open those items. I can listen for a double-tap event just fine, but sending it is a different story.
Yes, You can ,It is possible to handle the javascript method from your android code also.If you want then i can create a sample code for you and send it to you.
Yes You Can,The example that i have written ,Just read it again ,It's for vice verse. It's means you can call the android method from javascript code as well you can also call the javascript method from your's android code.
In case ,If you want any sample code then i will develop it also.
Excellent, Thank you. I am trying to write an app that will allow the user to double-click on an item in a browser. Unfortunately the Javascript site in question is password protected, but I found this site which has a Javascript double-click link that works the same way. If you can show me the code for a very small webview app that will allow the user to activate that double-click link I would be VERY grateful. I can even sned a few $$ your way through PayPal if it all works out.
I've been following this binding technologies for a while. Checking them in several platforms and OSs. And after a trouble happened a year ago in Android binding using addjavascript interface, when Google launched a new 2.3.x OS versión (With some kind apologies from Google and some patches too), I realized that it's quite dangerous relying in a technique that it's clearly against the interests of the Google Market. The same thing happens on every not-so-open OSs. Think about having developped a lot of javascript software and then addjavascript interface (or its equivalent for another OS) suddenly disappears for a new versión of your OS. And you lose all access downwards to LLOS features.
This article is quite interesting. But I think this is not the solution for a serious javascript developer and there are other ways to do the same not so far away.
Thanks for your vote.I am new to android development, But it's a very interesting thing that i have found during the development.I thing ,If you are going to create HTML part also,then you can follow same approach.Otherwise, You must be very careful.There might be more approaches,But we need to figure out.
Thanks for your vote Selvin.But the thing is that set the textview control text.I struggled lot,Then I found this solution using a handler n all stuff.For toast implementation was easy.But the rest things are not easy to implement at-least for me.