Service stop automatically in android

view full story

http://stackoverflow.com – I am working on a Android Project that control Android Device through Speech.For that i am using speech Recognition Service of Google. Here i Have created a service for handling Speech recognition. But what is going is there , after some time this service gets stops automatically and my device stops responding to speak of user. And after little seconds it starts responding again. So my question here is that how can i stop my service from destroying automatically and if possible is there any trick to call my broadcast receiver whenever my service gets stop ? So that , i can create my Broadc (HowTos)