Code example for PendingIntent.CanceledException

Methods: printStackTrace

0
					intent, PendingIntent.FLAG_ONE_SHOT);
			pi.send();
		} 
 
		catch (CanceledException e) {
			e.printStackTrace();
		} 
 
		Thread triggerService = new Thread(new Runnable() {
 
			@Override 
			public void run() { 
				// TODO Auto-generated method stub 
				while (isRunning) {
					try { 
 
						Log.e("Androday", "Ring ~ ");
 
						vibrator.vibrate(1000);
 
						Thread.sleep(2000);