title: android service need to stop after sometime
body: <p>I am running a <code>Service</code> using <code>AlarmManager</code>. The <code>Service</code> is running ok and I am stopping the <code>Service</code> manually (clicking a <code>Button</code>), but I need to stop the <code>Service</code> after sometime (it may be 10 seconds). I can use <code>this.stopSelf();</code>, but how do I call <code>this.stopSelf();</code>  after some given time?</p>