Thanks Roman... Trying to optimize my code without using the ndk right now. If I don´t find a way out, then I get to this next step.
On 28 mar, 23:19, Romain Guy <romain...@android.com> wrote: > 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 <gsim...@gmail.com>: > > > > > > > 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 android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > 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 > romain...@android.com > > 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- Ocultar texto das > mensagens anteriores - > > - Mostrar texto das mensagens anteriores - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com 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.