Actually you want to finish B -after- starting the next activity.

And yes, the activities get overlapped -- first B is paused, then C is
created and resumed, then B is stopped and finished.  It is designed
this way to allow B to save all of its important state before the next
activity takes over, while reducing the amount of work as much as
possible needed to get the next activity displayed to the user.

On Apr 14, 10:58 pm, "Deepak Singh" <[EMAIL PROTECTED]> wrote:
> Before you start sub activity C finish the subactivity B using finish()
> .Hope this Works
>
>
>
> On Tue, Apr 15, 2008 at 10:29 AM, Greg <[EMAIL PROTECTED]> wrote:
>
> > but activities are getting overlapping while finishing
>
> > On Apr 3, 9:36 pm, hackbod <[EMAIL PROTECTED]> wrote:
> > > Fwiw, there will be a better way to accomplish this in an upcoming
> > > SDK.
>
> > > On Apr 3, 6:13 am, xingye <[EMAIL PROTECTED]> wrote:
>
> > > > override B.onActivityResult and callfinish()
>
> > > > On 4月3日, 下午5时23分, Greg <[EMAIL PROTECTED]> wrote:
>
> > > > > I have three activies
>
> > > > > A                  B                      C
>
> > > > > i start subactivityfrom A then i startsubactivity from B
>
> > > > > i just want to do like when ifinishC ..itfinishall activies and
> > > > > show me the Aactivity
>
> > > > > please help me out
>
> > > > > i tried to do that but ..when i press back button it again shows B
> > > > >activity.
>
> --
> Deepak Kumar Singh
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to