Hi,

I have the following problem:  in my main activity I've created a
linearlayout vertical with 3 views, a title view, a game view and a
score view. Game view is update with a thread in order to keep a
constant framerate, this thread call the method onDraw of the game
view, so far so good, the problem appears when just after calling
onDraw of the gameView I make a setText in the ScoreView (kind of
TextView), then a CalledFromWrongThreadException appears saying: "Only
the original thread that created a view hierarchy can touch its
views."

Can I not have a single thread for updating all the views?
What can I do?

Thank you very much, I really appreciatte your support.

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