android HttpClient无法POST数据?
天蓬老师
天蓬老师 2017-04-17 13:43:51
0
3
547
天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
巴扎黑

Problem resolved. The reason for the error is that network time-consuming operations cannot be performed in the main thread. The previous doPost() was executed in handler.post(new Runnble(){});. In fact, the UI thread performed the operation, so it reported an error and exited

伊谢尔伦

Is there any detailed error report?

洪涛

Did you not give INTERNET permission? What is the error message in Logcat?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!