Tuesday, January 12, 2010

[android-developers] Re: Process in Android

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate