Skip to content Skip to sidebar Skip to footer

Can I Start Activity Automatically Every 1 Hours?

Now i'm making a application that every 20 seconds send data to my database server in internet. but when my activity was running until 2 hours, my application not responding and no

Solution 1:

Yes, you can use AlarmManager Class or TimerTask Class for such purpose. In AlarmManager you can schedule your activity for every hours. Same as in TimerTask you can schedule your Activity for every hour.


Post a Comment for "Can I Start Activity Automatically Every 1 Hours?"