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?

2
  • 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) Commented Apr 17, 2017 at 10:03
  • @EmanuelSeibold here stackoverflow.com/questions/43449086/… Commented Apr 17, 2017 at 10:06

0

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.