Code example for FragmentActivity

Methods: getWindow, onCreate, requestWindowFeature, setContentView

0
	} 
	 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		 
		super.onCreate(savedInstanceState);
 
		Log.i("ffz", "onCreate called");
		 
        // full-screen 
        this.requestWindowFeature(Window.FEATURE_NO_TITLE); // (NEW)
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
            WindowManager.LayoutParams.FLAG_FULLSCREEN); // (NEW)
 
        OuyaController.init(this);
         
		glView = new FFZSurfaceView(this);
		setContentView(glView);
		 
		this.createMediaPlayer();
		 
	}