startActivityForResult获取不到返回值 – Android

使用startActivityForResult与setResult通常解决的场景是:

A Activity打开B Activity,B执行完业务后返回结果给A。

 

 

结果发现无论如何也不能输出结果,查找网络后发现Activity在Manifest注册时lauchMode不能使用singleInstance模式;将A与B的singleInstance去掉之后,正常获取值。

Spend all your time waiting for that second chance

Spend all your time waiting
For that second chance
For a break that would make it okay
There’s always some reason
To feel not good enough
And it’s hard at the end of the day

I need some distraction
Oh beautiful release
Memories seep from my veins
Let me be empty
Oh and weightless and maybe
I’ll find some peace tonight

In the arms of the angel
Fly away from here
From this dark cold hotel room
And the endlessness that you fear

You are pulled from the wreckage
Of your silent reverie
You’re in the arms of the angel
May you find some comfort here

Sarah McLachlan – Angel

So tired of the straight line
And everywhere you turn
There’s vultures and thieves at your back
The storm keeps on twisting
Keep on building the lies
That you make up for all that you lack

It don’t make no difference
Escaping one last time
It’s easier to believe
In this sweet madness
Oh this glorious sadness
That brings me to my knees

In the arms of the angel
Fly away from here
From this dark cold hotel room
And the endlessness that you fear

You are pulled from the wreckage
Of your silent reverie
You’re in the arms of the angel
May you find some comfort here

You’re in the arms of the angel
May you find some comfort here

Sarah McLachlan – Angel
Album: Surfacing

 


The Angel