SeekBar is an extension of ProgressBar, so all the update logic is
already built in for you.  See the ProgressBar docs (which have an
example right in them):
http://code.google.com/android/reference/android/widget/ProgressBar.html.

On Oct 22, 9:30 am, "cH3Lu eu" <[EMAIL PROTECTED]> wrote:
> well it's a SeekBar which should increment its progress at every second, do
> you know how can i do that? :)
> Thanks.
>
> 2008/10/22 Charlie Collins <[EMAIL PROTECTED]>
>
>
>
> > Android has java.util.Timer and related.
> >http://code.google.com/android/reference/java/util/Timer.html
>
> > Use that on a background thread and call back into the UI via a
> > Handler and Message.  But be careful about updating every second, make
> > sure you really need to do that.
>
> > On Oct 22, 3:36 am, "cH3Lu eu" <[EMAIL PROTECTED]> wrote:
> > > Hi All,
>
> > > Does anybody knows if I can register a function to be called at every
> > second
> > > within an activity? if not, what do you suggest to do if I need a widget
> > to
> > > refresh at every 1 second?
>
> > > Thanks a lot.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to