how to run the async task at specific time? (I want to run it every 2 mins)
I tried using post delayed but it\'s not working?
tvData.postDelayed
you can use TimerTask instead of AsyncTask.
ex:
Timer myTimer = new Timer("MyTimer", true); myTimer.scheduleAtFixedRate(new MyTask(), ASAP, TWO_MINUTES); private class MyTask extends TimerTask { public void run(){ readWebPage(); } }