title: Increase points even app is closed android
body: <p>I am new in android and I don't know how to do this, I want to create a <strong>background service</strong>, There is two main component in my app one is <strong>Button (Start Earning)</strong> and another is <strong>TextView (Points)</strong>. I want to create service like if User Open app and <em>Click on Start Earning Button</em> then the the points in <em>TextView</em> wants to <strong>Increase Continuously For 1 Hour (100 Points In 1 Hour)</strong>. then after <em>1 hour I want to stop that service automatically even if app is closed</em></p>
  <p><a href="https://i.stack.imgur.com/8vnf7.jpg" rel="nofollow noreferrer">Example Is In This Screenshot.</a></p>
  <p>Pls Help Me I Search Every Where (Google,Stackoverflow,Github,etc.) But I Don't Get Any Answer.</p>