Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void onReceive(Context context, Intent intent) {
- Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
- vibrator.vibrate(2000);
- Toast.makeText(context, "I'm running", Toast.LENGTH_SHORT).show();
- Log.e("START", "I'm running");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement