Hi abcxyz,
it seems we have identified the issue, i.e. a conflict between the startup screen and the GL view; the issue only appears on some devices, like your;
here is the solution (code changes in the sample, add the bold lines marked with //NEW):
In the run method from the Runnable mSplashScreenRunnable :
// Start the camera:
updateApplicationStatus(APPSTATUS_CAMERA_RUNNING);
// Show the startup screen
showStartupScreen(); // NEW
Also note the changes in these methods:
/** Show the startup screen */
private void showStartupScreen()
{
if (mStartupView != null)
{
mGlView.setVisibility(View.INVISIBLE); // NEW
mStartupView.setVisibility(View.VISIBLE);
mStartScreenShowing = true;
}
}
/** Hide the startup screen */
private void hideStartupScreen()
{
if (mStartupView != null)
{
mGlView.setVisibility(View.VISIBLE); //NEW
mStartupView.setVisibility(View.INVISIBLE);
mStartScreenShowing = false;
}
}
Please confirm if that solves the problem.
Hi abcxyz,
it seems we have identified the issue, i.e. a conflict between the startup screen and the GL view; the issue only appears on some devices, like your;
here is the solution (code changes in the sample, add the bold lines marked with //NEW):
In the run method from the Runnable mSplashScreenRunnable :
// Start the camera:
updateApplicationStatus(APPSTATUS_CAMERA_RUNNING);
// Show the startup screen
showStartupScreen(); // NEW
Also note the changes in these methods:
/** Show the startup screen */
private void showStartupScreen()
{
if (mStartupView != null)
{
mGlView.setVisibility(View.INVISIBLE); // NEW
mStartupView.setVisibility(View.VISIBLE);
mStartScreenShowing = true;
}
}
/** Hide the startup screen */
private void hideStartupScreen()
{
if (mStartupView != null)
{
mGlView.setVisibility(View.VISIBLE); //NEW
mStartupView.setVisibility(View.INVISIBLE);
mStartScreenShowing = false;
}
}
Please confirm if that solves the problem.