Can't wait for result with action start activity

Post your questions and help other users.

Moderator: Martin

Post Reply
natong
Posts: 80
Joined: 29 Aug 2015 05:24

Can't wait for result with action start activity

Post by natong » 14 Oct 2015 05:34

2015-10-14-11-52-59.jpg
2015-10-14-11-52-59.jpg (174.25 KiB) Viewed 11479 times
I want to wait the result when editing/viewing some text file before continue the flow.
My flow work well on Lollipop MTK device.
But when used in Samsung Note2 Kitkat 4.4.2, it didn't wait user to close the Jota app and continued the next actions immediately. I tried with several text edit apps and got the same behavior.
Did I something wrong?

Edited: I tried to add extra putBoolean("finishActivityOnSaveCompleted", true); but still didn't work.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Can't wait for result with action start activity

Post by Martin » 16 Oct 2015 18:33

Not every target app properly handles this type of intent. It usually works with apps/activities used to pick something. However it indeed also works on my device with jota.
Please try to reboot the device to see if this helps.

natong
Posts: 80
Joined: 29 Aug 2015 05:24

Re: Can't wait for result with action start activity

Post by natong » 17 Oct 2015 03:23

Thank. Reboot didn't help. I think Samsung Note2 and similar devices use some special function. Maybe it destroy activity and recreate. Cloning activity for some reasons.
Last edited by natong on 18 Oct 2015 03:24, edited 1 time in total.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Can't wait for result with action start activity

Post by Martin » 17 Oct 2015 18:51

Unfortunately I don't have access to a Samsung 4.4.2 anymore but it also works as desired on a Samsung with 5.0.
Did you enable Don't keep activities in the developer options of the device?

natong
Posts: 80
Joined: 29 Aug 2015 05:24

Re: Can't wait for result with action start activity

Post by natong » 18 Oct 2015 03:36

I tried enable/disable but still got the same result. I also tried enable/disable multi-windows.

Post Reply