'How to get text from webview in android java to custom name string

Hello i need help I program through Sketchware, how to get text from webview in android java (only code (add source directly)) I need only code (for example when I click on a button to get html or text from webview1 to a string called "needtext") Please help me :)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source