Re: [android-developers] Can't prevent restore activity stack when launch app from overview screen after process killed

2017-01-16 Thread Maks Tuev
Thanks for answer, but I want to avoid this solution(

понедельник, 16 января 2017 г., 17:27:38 UTC+3 пользователь Marina Cuello 
написал:
>
> The dirty and easy way out is to check if there is a Bundle coming on the 
> onCreate of all the other activities, and then kill the activity and start 
> the one you want.
>
> Marina
>
> On Sun, Jan 15, 2017 at 6:48 PM, Maks Tuev  > wrote:
>
>> Reading the Android documentation and some of the answers here (and on 
>> StackOverflow) I don't find answer to question: how prevent restore 
>> activity stack when launch app from overview screen after process killed? 
>> In this case I want to the app started from launch activity.
>>
>> Somebody knowns how solve this?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-developers+unsubscr...@googlegroups.com .
>> To post to this group, send email to android-d...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/android-developers.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-developers/06ea7c02-26a6-4341-b5a6-71c352202e64%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3dcf7bf5-2933-4091-baf2-968c26d3ad38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Can't prevent restore activity stack when launch app from overview screen after process killed

2017-01-16 Thread Marina Cuello
The dirty and easy way out is to check if there is a Bundle coming on the
onCreate of all the other activities, and then kill the activity and start
the one you want.

Marina

On Sun, Jan 15, 2017 at 6:48 PM, Maks Tuev  wrote:

> Reading the Android documentation and some of the answers here (and on
> StackOverflow) I don't find answer to question: how prevent restore
> activity stack when launch app from overview screen after process killed?
> In this case I want to the app started from launch activity.
>
> Somebody knowns how solve this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/06ea7c02-26a6-4341-b5a6-
> 71c352202e64%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX2Vy%3DZROkXqRjLqJvWVaEHd3zurDD%2BkHuCJOzVZctjENA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Can't prevent restore activity stack when launch app from overview screen after process killed

2017-01-15 Thread Maks Tuev
Reading the Android documentation and some of the answers here (and on 
StackOverflow) I don't find answer to question: how prevent restore 
activity stack when launch app from overview screen after process killed? 
In this case I want to the app started from launch activity.

Somebody knowns how solve this?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/06ea7c02-26a6-4341-b5a6-71c352202e64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.