looped execution of code snippet even when the application is in background?
<p>I am developing a app in android ....
which need a code snippet to be executed in a loop...
i thought of using threads and handler..
i need some assistance on that...</p>

<p>and is there any other optimistic way of doing it...</p>

<p>consider it like an alarm clock, where the program continually checks for the alarm time with the mobile time ... i need to implement a concept similar to this ...</p>

<p>pls help me out guys ... Thanks :) :) </p>
