开发者

Android self-updating ui page

I'm very new to Android. I'm just wondering if this is possible on Android. I'm displaying values that are being pulled from a server. These values are getting updated every 30 secs. I w开发者_开发技巧anted to update/refresh my Android UI page every 30 sec also to display the current values. I'm using 3.0 if it makes any difference.

Thanks in advance guys!!


Task is simple. Launch an AsyncTask every 30 seconds and then update the ui using direct method invocation or handlers to update the ui.

Read about Handlers here. Example of AsyncTask - here.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜