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

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -