문제

I want to save something from a webpage (loaded into webview) into a Java variable. Is that possible?

Example: I have a webpage with written text: HELLO STACK!. How could I save that text into Java var (String foo = ?????)?

Could I do it with JavaScript/Java cooperation?

도움이 되었습니까?

해결책

Launch an http request and save the response to text, then process it to get what you want, you wouldnt have to use a webview.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top