Alex Rivera | Logout

How to execute Async task repeatedly after fixed time intervals

Asked 2011-06-30T08:20:32.883
59

How to make Async task execute repeatedly after some time interval just like Timer...Actually I am developing an application that will download automatically all the latest unread greeting from the server and for that purpose I have to check for updates from server after some fixed time intervals....I know that can be easily done through timer but I want to use async task which I think is more efficient for android applications.

Edit
Report

1 Answer

2

wouldn't it be more efficient to create a service and schedule it via Alarm Manager?

answered 2012-07-12T05:10:55.307

Your Answer