title: How to android device vibrate when it is in background?
body: <p>In my app, I have to make it vibrate in time intervals defined by the user.</p>
  
  <p>Basically it has a chronometer that makes the device vibrate when it has reached the defined time. Currently I do that by reading the chronometer value and comparing it with the desired value, in the onChronometerTick() method</p>
  
  <p>I need this app to work in the background too. I've googled and found some examples about the android Service class.</p>
  
  <p>My doubt is how my Service class will get the chronometer value? I've seen that the Service class can't handle layout components.</p>
  
  <p>How can I do this? Is service the best way to handle this issue?</p>
  
  <p>Thank you!</p>