开发者

nstimer in android

开发者 https://www.devze.com 2023-02-27 10:18 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消