title: How to force close app such as system close on Android
body: <p>I want to force close my app as Android system.<br>
  Such as select below step on system.  </p>
  
  <pre><code>"Setting" -&gt; "Apps" -&gt; "my app name" -&gt; "Force stop"  
  </code></pre>
  
  <p>I want to implement the same behavior by code.<br>
  How can I do it?  </p>