/** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Hide the window title. requestWindowFeature(Window.FEATURE_NO_TITLE); loadViewFromXML(); // We create the world and fill it mWorld = CustomWorldHelper.generateObjects(this); mBeyondarFragment.setWorld(mWorld); mBeyondarFragment.showFPS(true); // set listener for the geoObjects mBeyondarFragment.setOnTouchBeyondarViewListener(this); mBeyondarFragment.setOnClickBeyondarObjectListener(this); }