I am trying to write a service which runs as background process and
invoke my task (in application) at 9am everyday.
My service is:
public class DateService extends Service {
//expressed in milliseconds
private final long ONCE_PER_DAY = 1000 * 60 * 60 * 24;
private final
On Fri, Dec 31, 2010 at 7:35 AM, asinha asinha.vocoll...@gmail.com wrote:
Is this the right way to write my service?
No. Use AlarmManager.
How would I verify my service?
Test it?
-
TreKing
31.12.2010 16:35, asinha пишет:
I am trying to write a service which runs as background process and
invoke my task (in application) at 9am everyday.
My service is:
[snip]
Is this the right way to write my service? How would I verify my
service?
This is error-prone, since a service can get
3 matches
Mail list logo