[android-developers] Re: Strange problem with Runnable interface

2010-03-24 Thread Streets Of Boston
It looks like the MySurfaceView instance is created during the XML inflation of your activity. It is indeed a bit puzzling :) What does the body of the 'public void run()' method contain? On Mar 24, 1:25 pm, Floof wrote: > Hi list, > > I'm having hard times getting my GL thread (from GLSurfaceV

[android-developers] Re: Strange problem with Runnable interface

2010-03-24 Thread Bob Kerns
(I presume the 'Runable' instead of 'Runnable' was just a typo...) NoClassDefFoundError doesn't mean what you think it means from the name. It means that an error happened while the class was being loaded. And for reasons that I cannot fathom, when Java added exception chaining, they did not make

Re: [android-developers] Re: Strange problem with Runnable interface

2010-03-25 Thread Цветко ЛАГАЈОВИЋ
Hi, First of all thanks for your help. The Runnable's run method contains just a call to a MySurfaceView method. On Wed, Mar 24, 2010 at 10:47 PM, Streets Of Boston wrote: > It looks like the MySurfaceView instance is created during the XML > inflation of your activity. > It is indeed a bit

Re: [android-developers] Re: Strange problem with Runnable interface

2010-03-25 Thread Цветко ЛАГАЈОВИЋ
Hi, Thanks for your help guys, I found what was causing the problem. The inflater, even if classes are instanciated indirectly, needs a *.class file for each class. Meaning that you can't use class nesting or anonymous classes within those that will be inflated. I moved the Runnable implementati