I have developed an application in android and also deployed in the mobile.
While running,one activity is getting refreshing sometimes.When I am working in other activities also,the control is automatically moving to that specific activity.
I am not using any intents and also did’nt write any special functionality for that.
I am new to android and not able to solve this.Please help me solve this.
Anyone answer this please……….
In my application I have an activity named,security.java.It is getting reloaded again and again even if am not doing that.When I am using other activities also,it is moving to activity security.java.Even I am not using any intents also.I dont understand how to solve it.Am I clear,or need to explain in more detail.This answer is very important for me.
Hey u need to understand android life cycle. Here is the link http://developer.android.com/reference/android/app/Activity.html
I think that ur security.java might not be getting destroyed. And you can see it again when ur other activity finishes. Study the life cycle n detect where the problem is