@Override protected void onResume() { Log.d("ARComponentBase", "onResume()"); super.onResume(); arView.onResume(); sceneView.onResume(); sensorManager.resume(); /*/ // no use Handler handler = new Handler(); handler.postDelayed(new Runnable() { @Override public void run() { sceneView.bringToFront(); if(compassView != null) compassView.bringToFront(); } }, 2500); /**/ }
@Override protected void onResume() { super.onResume(); sensorManager.resume(); }