@Override
 protected void onPause() {
   super.onPause();
   MoonVille mv = (MoonVille) getApplication();
   mv.pauseActivity();
 }
 /** Calls MoonVile.resumeActivity. */
 @Override
 protected void onResume() {
   super.onResume();
   MoonVille mv = (MoonVille) getApplication();
   mv.resumeActivity();
 }