Android start activity for result not working correctly for translucent activity -
i launch activity
b activity
startactivityforresult()
, activity
b translucent activity's method
protected void onactivityresult(int requestcode, int resultcode, intent data) {}
works activity
b open.
please suggest.
i had exact same problem. solved removing intent.flag_activity_new_task flag intent used call activity b. check if there singleinstance
or singletop
in manifest in activity b.
"you can't use startactivityforresult() if activity being launched singleinstance or singletop."
source : android - startactivityforresult triggering onactivityresult
Comments
Post a Comment