认证0级讲师
Your thread has not been started, what should you do?
new Thread().start();
Have you caught the exception? Is getNametext() placed in the onCreate() method? Can a real browser access this data?
Why don't you try the data on the Internet? The local data is very ambiguous...And this one can't be started with .start()?
Try changing localhost to your IP?
To run thread, you need to add startIn addition, put a log in it to see if there is an exception
catch (IOException e) { e.printStackTrace(); }
Your thread has not been started, what should you do?
Have you caught the exception? Is getNametext() placed in the onCreate() method? Can a real browser access this data?
Why don't you try the data on the Internet? The local data is very ambiguous...
And this one can't be started with .start()?
Try changing localhost to your IP?
To run thread, you need to add start
In addition, put a log in it to see if there is an exception