将处理程序放入onPostExecute中以在10秒后发送http请求
new Handler().postDelayed(new Runnable() { public void run() { requestHttp(); } }, 10000);10秒后,将再次执行doInBackground,然后再次执行onPostExecute,再次处理程序,依此类推。

将处理程序放入onPostExecute中以在10秒后发送http请求
new Handler().postDelayed(new Runnable() { public void run() { requestHttp(); } }, 10000);10秒后,将再次执行doInBackground,然后再次执行onPostExecute,再次处理程序,依此类推。