0

Read web file java

If a site have a file called file.txt how can i turn the text to string using java? example: opening it with webview i see "hello world". how can i print it as a string?

15th Jun 2017, 5:22 PM
Stefano Trinca
Stefano Trinca - avatar
3 Respostas
0
milind, i know that the webview text isn't in string format, i asked how to get text from web file
15th Jun 2017, 5:37 PM
Stefano Trinca
Stefano Trinca - avatar
0
The text you are referring to is nothing but String. So I am not sure what your goal is. I am not a Android Developer but just quick search for WebView and I think I understand a little about it. (https://developer.android.com/reference/android/webkit/WebView.html) WebView is a class that can display HTML code as if you developed a browser. NOTE: I would like to know myself if this is correct. So I will wait for others developers for a better explanation.
15th Jun 2017, 5:37 PM
Milind
Milind - avatar
0
oh, ok.
15th Jun 2017, 5:53 PM
Milind
Milind - avatar