Thanks for quick response,
The problem was somewhere else:
m_sensorManager = (SensorManager) getSystemService(SENSOR_SERVICE);
it hangs,so the next line wasn't called
setContentView(gameView);
Sorry for the not being precise, but I don't know why getSystemService
(SENSOR_SERVICE) causes the
I am experiencing the same issue as well. I am assuming this is the
case because the emulator doesn't have a sensor service. However my
understanding of the API is that the method call should return null if
the service is not available.
What should we expect to happen on real devices which do
On Apr 28, 12:56 pm, ad avra...@gmail.com wrote:
The problem is that surfaceCreated is not called :
SurfaceHolder mSurfaceHolder = getHolder();
mSurfaceHolder.addCallback(this);
setFocusable(true);
waitForScreen(); - here I
3 matches
Mail list logo