nstimer in android
dear ,how to use nstimer in android as in iphone...for refresh the url on every time intervell...or i use TIMER.SCHEDULE() for ping the server on e开发者_StackOverflow社区ach time intervall thanks in advance..
For tasks where you would use NSTimer on iOS, Android's Handler class is appropriate.
You can use AlarmManager
for tasks like this.
精彩评论