title: Manage the back button with multiple scene
body: <p>I followed this tutorial <a href="http://www.andengine.org/forums/tutorials/multiple-screen-andengine-game-v2-t4755.html" rel="nofollow">http://www.andengine.org/forums/tutorials/multiple-screen-andengine-game-v2-t4755.html</a> to create a simple application with multiple scene and only one activity.
  I'd like to know how can i can return to the previous scene when i use the back button and finish the activity when i'm in the first scene.</p>
  
  <p>I tried so in the MultiScreen Class:</p>
  
  <pre><code>@Override
  public boolean onKeyDown(int keyCode, KeyEvent event) {
      if ((keyCode == KeyEvent.KEYCODE_BACK)) {
          this.mEngine.getScene().back();
      }
      return super.onKeyDown(keyCode, event);
  }
  </code></pre>
  
  <p>replacing the <code>core.getEngine().setScene(scene);</code> in the SceneManager with <code>this.mEngine.getScene().setChildScene(scene);</code></p>
  
  <hr>
  
  <p>scene work differently from how I understood, I resolve with:</p>
  
  <pre><code>    @Override
      public void onBackPressed()
      {
          Scene scene = this.mEngine.getScene();
          if(scene.hasChildScene()){
              scene.back();
          }
          else{
              this.finish();
          }
      }
  </code></pre>