There's no refresh limit (except the one set by the display, which is
usually 50 or 60 fps) in the Views system nor in AsyncTask. You are
probably running into performance issues.

2010/3/28 Gabriel Simões <[email protected]>:
> Hello,
>
> I´d like to get some information about Android´s maximum refresh rate
> when updating a view. In this specific case I´m trying to update the
> value displayed on a TextView on my main activity.
> The algorithm tries to syncronize the audio streams played using
> AudioTrack with updates on the view. Since I need a different thread
> to feed AudioTrack I created a new AsyncTask which calls
> publishProgress() everytime an specific event occurs in the audio.
> The algorithm works flawless until the update rate gets close to 4
> times per second. From this to any higher refresh rate the view just
> don´t show the news values anymore.
> Does publishProgress (updateProgress) have a refresh´s period limit?
> If so or if not, what could I do so my asyncTask get to update the
> TextView as quick as I need?
>
> *Important: I´m doing all my tests using the android emulator (sdk
> 1.6).
>
> Thanks,
> Gabriel Simões
>
> --
> 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
>
> To unsubscribe from this group, send email to 
> android-developers+unsubscribegooglegroups.com or reply to this email with 
> the words "REMOVE ME" as the subject.
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to