I have an application where I am launching a new Activity, and need to have the result of the activity before proceeding.
I realize that startActivityForResult is as
This will block your UI thread so other activity will not execute either. I would use some kind of callback class provided by higher level function, in this kind of situation and call its callback function in onActivityResult
onActivityResult