The blinker runs in the UI thread. And it is kept alive and
it keeps itself aliver in posting delayed messages. You
find the source code here:

http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/widget/TextView.java#TextView.Blink

There is a condition isFocused() inside the Blink. I have
checked my application, the TextView I am using gets correctly
focused. There shouldn't be a problem with focusing. Here
is the result of some debugging code:

   02-20 10:21:47.362: WARN/System.err(579): text =
   xxx.TerminalArea@412f8368 text.isFocused = false
   02-20 10:21:47.362: WARN/System.err(579): text =
   xxx.TerminalArea@414044c8 text.isFocused = true

   414044c8 Blinks! OK

After switching the tab:

   02-20 10:22:57.445: WARN/System.err(579): text =
   xxx.TerminalArea@412f8368 text.isFocused = true
   02-20 10:22:57.445: WARN/System.err(579): text =
   xxx.TerminalArea@414044c8 text.isFocused = false

   412f8368 Does not Blink! NOK

So I guess a problem with focusing can be ruled out. What
other cause could be identified for the frozen cursor?

Bye

lbendlin schrieb:
i guess you are not a good thinker, and are unwilling to try my
suggestions because they "don't seem to make sense". Fair enough.

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


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