I vaguely remember a similar problem too. Do you also see the dreaded "You
used the BufferedReader default constructor" (something like that) message?
I had the feeling that it lead to a lot of garbage collections which would
in turn explain the unresponsiveness I suppose.
Btw. I got rid of the Spanneds and now do the actual work (in my case HTML
rendering, more exactly translating html entities to text) ahead of time.

On Thu, Mar 12, 2009 at 7:35 PM, AlCapwn <alcapw...@googlemail.com> wrote:

>
> Is there any way to get around the problem of it being non responsive?
> The lack of feedback to the scroll attempt is very noticeable.
>
> On Mar 11, 11:16 pm, Romain Guy <romain...@google.com> wrote:
> > It's waiting for events in the main events queue. That's pretty normal
> > to see this.
> >
> >
> >
> > On Wed, Mar 11, 2009 at 4:03 PM, AlCapwn <alcapw...@googlemail.com>
> wrote:
> >
> > > Whoops, forgot to add this. When the freeze happened, I generated a
> > > bugreport and it says this:
> >
> > > "main" prio=5 tid=3 TIMED_WAIT
> > >  | group="main" sCount=1 dsCount=0 s=0 obj=0x400103e8
> > >  | sysTid=2339 nice=0 sched=0/0 handle=-1096221588
> > >  at java.lang.Object.wait(Native Method)
> > >  - waiting on <0x1b6408> (a android.os.MessageQueue)
> > >  at java.lang.Object.wait(Object.java:195)
> > >  at android.os.MessageQueue.next(MessageQueue.java:144)
> > >  at android.os.Looper.loop(Looper.java:110)
> > >  at android.app.ActivityThread.main(ActivityThread.java:3739)
> > >  at java.lang.reflect.Method.invokeNative(Native Method)
> > >  at java.lang.reflect.Method.invoke(Method.java:515)
> > >  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
> > > (ZygoteInit.java:739)
> > >  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
> > >  at dalvik.system.NativeStart.main(Native Method)
> >
> > > Not too sure why it would be wait()ing :s
> > > On Mar 11, 11:00 pm, Al <alcapw...@googlemail.com> wrote:
> > >> Hi, sometimes when I try to scroll using a scrollview (wrapped around
> > >> a textview), there will be no response. I've noticed this in both my
> > >> apps and the only common thing between them is the textview in both
> > >> apps use Spanned (SpanableStringBuilder to be exact) text. This
> > >> happens even when there is no activity on the window and no anr pops
> > >> up either.
> >
> > >> Any idea what would be the cause?
> > >> Thanks.
> >
> > --
> > 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
> >
>

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

Reply via email to