Code example for AudioManager

Methods: playSoundEffect

0
 
            validkey = true;
        } 
 
        if(mKeyClick){
            mAudioManager.playSoundEffect(soundeffect,-1);
        } 
 
        //Reset the keyboard.. 
        if(validkey){
            if(mKeyboards.isFunction()){
                //Switch back 
                mKeyboards.FNKey();
                 
                //Tell the Keyboard 
                mInputView.setFunction(false);
 
                //Now redo 
                mInputView.setKeyboard(mKeyboards.getCurrentKeyboard());
                 
            }