Code example for Vibrator

Methods: cancel

0
    private void cancelChanges() { 
        String output = startString;
        Intent returnIntent = new Intent();
        returnIntent.putExtra("returnval", output);
        setResult(RESULT_CANCELED, returnIntent);
        mVibrator.cancel();
        finish();
    } 
 
    private void revertChanges() { 
        clearTable(); 
        Toast.makeText(this, getString(R.string.haptic_revert_toast), Toast.LENGTH_LONG).show();
        setupRows(startString);
        checkRowColors(); 
    } 
 
    private void defSet(int type) {
        clearTable(); 
        Toast.makeText(this, getString(R.string.haptic_default_toast), Toast.LENGTH_LONG).show();
        if (type == DOWN_TEXT) {
Stop searching for code, let great code find you!  Add Codota to your java IDE