when you leave to b from a,
if you want to close a activity,

then you can write the code in the onDestroy
such as:

onDestroy(){
 a.this.finish();
}



On 1月13日, 上午11時08分, Android Developer <kavithasuni...@gmail.com>
wrote:
> Hi,
>
> I have an application which has one activity. The application is
> launched. When i say back, OnDestory() would be called. This means
> that the activity is being killed.
>
> What will happen to the process? Will the process also be killed? But
> when i use ps command i could see the process still running.
>
> Will the process not be killed?
> Can someone explain this in detail or provide from reference to get
> information on the same.
>
> Regards
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to