What I did is to use a Runnable and in the run method I first call Handle.postDelayed, then I do my operation.
I call it first so that it is ready as my operation calls to a REST service. In the postDelayed I pass in my Runnable. On Jan 11, 2012 10:52 AM, "suresh" <[email protected]> wrote: > Hi Friends > > I need to develop one application which should run all over the day in > background.currently am using runnable with handler to call the > service for every 30 min but its not working. > > Can you please help me on this. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

