Example #1
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    mGLView = new GLView(this);
    mGLView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE);
    mGLView.setKeepScreenOn(true);
    setContentView(mGLView);

    // start client networking
    // Toast.makeText(this, "USE TEXT TO FOCUS PROJECTOR", Toast.LENGTH_LONG).show();
    try {
      // starts the networking thread
      netClient = new NetClient("10.0.1.2", 6881);
      netClient.execute(this);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }
  }
Example #2
0
 @Override
 public void onPause() {
   super.onPause();
   mGLView.onPause();
 }
Example #3
0
 @Override
 public void onResume() {
   super.onResume();
   mGLView.onResume();
 }