two activities say A,B.
I call activity B for result in a:
Intent intent = new Intent(A.this,B.class);
startActivityforresult(intent,1);
and in B I create an intent and setResult that intent
But in activity A the onActivityResult function does not get called when I finish activity B
Where is the problem?🤔
EDIT:
I've searched for this problem and I got exactly my problem in one of stackoverflow questions but none of the answers helped me ... 😕
how about this https://stackoverflow.com/questions/920306/sending-data-back-to-the-main-activity-in-android
You should return what you want to result from B to A
Обсуждают сегодня