My guess is you are restarting the activity.  Look at the log to see if it
says anything about starting an activity, and you can use "adb shell dumpsys
activity" to see the state of the activity stacks.

On Thu, Aug 27, 2009 at 8:44 AM, Charles <[email protected]> wrote:

>
> Hello,
>
> I explain you my problem:
> I have an application with an activity A which creates an activity B
> (in theme dialog).
> I push the button in my activity B to finish it, i come back on
> activity A, it is ok.
> Then I press the button return on my G1, i go back on my home screen.
> And now if i do a long press on the home button, and i click on my
> application, it is the activity B which appears !
>
>
>
> I finish my activity B, with this code :
>                setResult(RESULT_OK);
>                finish();
>
>
> Do you have any idea to resolve this problem?
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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