Tuesday, January 12, 2010

Re: [android-developers] Re: Process in Android

Inspite of doing that(which is what back key does also), if you see the process, the process is not killed. It will be still running.

On Wed, Jan 13, 2010 at 8:45 AM, tstanly <tsai.stanly@gmail.com> wrote:
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate