Hi,
I'd like to use WebView to display some content (from my Java code or
local temp file).
I need to select some characters (change background color) of the
view. Of course I need to change those selected char. using my Java
code.
How can it be done ?
Can you post a short example ?
Thanks
Hi,
I like WebView component.
I would like to be able to select text in the view in my Java code.
Is it possible ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
the regular WebKit has a method to run arbitrary javascript and
return any results. if you gave the text a DOM ID then you could
select it via this method.
unfortunately it looks like the Android interface to WebKit doesn't
include this facility.
make it a DOM node than its possible as most
You can use loadUrl() with javascript: URLs.
ah yes good point, j'ai l'oublier. can't get results that way, but i
suppose something called via addJavascriptInterface() could report
results.
However, I don't know where you'd get the DOM ID, unless it was via
a call from Javascript
into Java
4 matches
Mail list logo