Answer the question
In order to leave comments, you need to log in
How to implement return to activity after a call in Android?
I call in the activity in my call:
Intent myIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + number));
myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivityForResult(myIntent, 1);
Answer the question
In order to leave comments, you need to log in
Alternatively, in an activity in which
Intent myIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + number));
myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivityForResult(myIntent, 1);
Intent myIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + number));
myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivityForResult(myIntent, 1);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question