Thanks a lot for your reply. I know how to solve my problem now.

On Monday, June 4, 2012 3:14:39 PM UTC-4, Mark Murphy (a Commons Guy) wrote:
>
> On Mon, Jun 4, 2012 at 3:11 PM, Sergio Andrés Ibañez Kautsch 
> <[email protected]> wrote: 
> > This may be a silly question for many of you but I need to know soon as 
> I'm 
> > working on my programming class' final project. 
> > 
> > Do activities get destroyed when I create a new activity from within an 
> > existing one? That is, if from my MainActivity activity I do this: 
> > 
> > Intent inten = new Intent(this, SomeOtherActivity.class); 
> > startActivity(inten); 
> > 
> > will MainActivity get destroyed when I create and start 
> SomeOtherActivity? 
>
> No. It will be paused and stopped, but not destroyed. 
>
> > If not, what happens with SomeOtherActivity finishes? 
>
> Your original activity is started and resumed, then goes back into the 
> foreground. 
>
> -- 
> Mark Murphy (a Commons Guy) 
> http://commonsware.com | http://github.com/commonsguy 
> http://commonsware.com/blog | http://twitter.com/commonsguy 
>
> Android Training in DC: http://marakana.com/training/android/ 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to