What I am doing is I create an class named MainGame with the View view in it. In another package I have another class that I run when the program starts. This class is a subclass to MainGame. When I try in this class call this view I created in MainGame and modify it, it crashes.
01-25 16:21:43.195: E/AndroidRuntime(1683): android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
I know what this error message means, but what shall I do to fix it?