Skip to content

Instantly share code, notes, and snippets.

@TheFinestArtist
Created July 25, 2015 14:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheFinestArtist/d3ad685770761537b401 to your computer and use it in GitHub Desktop.
Save TheFinestArtist/d3ad685770761537b401 to your computer and use it in GitHub Desktop.
Vibrator.java
import android.content.Context;
/**
* Created by TheFinestArtist on 5/14/15.
*/
public class Vibrator {
public static void eee(Context context) {
if (context == null)
return;
android.os.Vibrator vibrator = (android.os.Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
vibrator.vibrate(200);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment