Hi,

I have a problem I can't solve, please help me.

My application has an Activity A for example.

I have an activity D with dialog theme. This activity starts an other
activity with startActivityForResult.
I would like to open this activity D from an appwidget from the home
screen.

If I click on the widget then it is possible that D opens on the top
of A. I would like to avoid it but I
can't find a way to do that. FLAG_ACTIVITY_CLEAR_TASK cannot be used
because it needs API 11.

launchMode=singleInstance doesn't work because it doesn't enable to
call startActivityForResult.

Is there any way to launch D with a clear stack and to call
startActivityForResult from it?

Thanks,
Tamás

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