Skip to content

Instantly share code, notes, and snippets.

View BaeJuneHyuck's full-sized avatar
😀

배준혁 (JuneHyuck Bae) BaeJuneHyuck

😀
View GitHub Profile
@FR073N
FR073N / Constants.java
Last active December 12, 2019 11:06
Android Sound Manager
public class Constants {
public static final int SOUND_SELECT = R.raw.select;
public static final int SOUND_LOCKED = R.raw.locked;
public static final int SOUND_OPEN = R.raw.open;
public static final int SOUND_CLOSE = R.raw.close;
public static final void initSoundManager(Context context, SoundManager soundManager){
soundManager.addSound(context, SOUND_SELECT);
soundManager.addSound(context, SOUND_LOCKED);