1

Suppose that I have this in my React

render() {
    let anImage= (
        <img src="image.jpg" alt="image">
    ); 
}

If I opened a page containing that in WebView, how can I get the value of anImage? By value, I mean a mere string contains <img src="image.jpg" alt="image">. Is it possible?

I knew about JavascriptInterface for WebView, but tbh, so far it doesn't give me the result I hope. I've tried one from here, and here. And then I realized, the page I tried to read from is from React. Thus I wonder if there's a particular way for that?

Konayuki
  • 674
  • 1
  • 9
  • 21
  • cant contact you due stackoverflow but i wrote a solution for your problem (focus edittext when clicking other elements. Just ask it again and i post the solution) – Emanuel Apr 17 '17 at 10:03
  • @EmanuelSeibold here https://stackoverflow.com/questions/43449086/how-to-make-edittexts-parent-clickable – Konayuki Apr 17 '17 at 10:06

0 Answers0