Code example for SoundPool

Methods: releaseunload

0
	} 
	@Override 
	public void onStop() { 
		super.onStop(); 
		if(mSoundPool != null){
			mSoundPool.unload(buttonClick_sound);
			mSoundPool.release();
		} 
	} 
	public void onDestroy() { 
		super.onDestroy(); 
		adView.destroy();
	} 
	private boolean isTabletMode() { 
        return getResources().getBoolean(R.bool.is_tablet);
    } 
	class MainMenuClickListener implements OnClickListener {
		public void onClick(View v){
			mSoundPool.play(buttonClick_sound, 0.5f, 0.5f, 1, 0, 1.0f);
			if(v == imgbt_play) {
				Intent it = new Intent(MainMenuActivity.this, FirstStage.class);