@Override protected void onCreate(Bundle savedInstanceState) { // super.onCreate(savedInstanceState); setContentView(R.layout.activity_game_new); m_SharedPreferences = PreferenceManager.getDefaultSharedPreferences(getBaseContext()); initializeVariables(); mClockSound = MediaPlayer.create(this, R.raw.clock); mClockSound.setLooping(true); mExtras = getIntent().getExtras(); mCurrentGameType = mExtras.getInt(EXTRA_GAME_TYPE); mUserId = mExtras.getInt(EXTRA_GAME_USER_ID); showInstructions(); }