Page 1 of 1
Can't wait for result with action start activity
Posted: 14 Oct 2015 05:34
by natong

- 2015-10-14-11-52-59.jpg (174.25 KiB) Viewed 11482 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.
Re: Can't wait for result with action start activity
Posted: 16 Oct 2015 18:33
by Martin
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.
Re: Can't wait for result with action start activity
Posted: 17 Oct 2015 03:23
by natong
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.
Re: Can't wait for result with action start activity
Posted: 17 Oct 2015 18:51
by Martin
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?
Re: Can't wait for result with action start activity
Posted: 18 Oct 2015 03:36
by natong
I tried enable/disable but still got the same result. I also tried enable/disable multi-windows.