i am having a very simple problem. I have created an activity in which i have called a service in the oncreate method. every time i change the orientation of the device, my service gets called again. Seems like it kills the activity and a new activity is created everytime.

Please help me on how will i prevent my activity to get killed and recreated. That will be helpful in all my applications.