I'm very new to programming and I'm making my first android app. I was wondering if there is a way to make the android phone vibrate when a number on the screen (used for keeping a count) reaches a certain value. Any help is much appreciated. Thanks!
 ...
  buttonplus.setOnClickListener(new View.OnClickListener() {
     @Override public void onClick(View v) {
        counter1++; 
        maincount.setText(Integer.toString(counter1));
        counter2--;
        cardsremain.setText(Integer.toString(counter2));
        counter3 = (counter1 * 10 / counter2);
        truecount.setText(Integer.toString(counter3));
I wish to vibrate the phone when the 3rd counter is a positive number
 
    