After making a call programatically, my android app crashes
Posted
by Casidiablo
on Stack Overflow
See other posts from Stack Overflow
or by Casidiablo
Published on 2010-05-04T05:02:58Z
Indexed on
2010/05/04
5:08 UTC
Read the original article
Hit count: 687
Hello!
The title explains all... I have this snippet of code in my application:
String url = createTelUrl("3112007315");
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse(url));
context.startActivity(intent);
It does make a call, but once the call ends, my application crashes. I'd like to return to my application once the call has finished, but I read this post and it seems not to be possible. So... is there anyway to at least pause my application and resume it once the call has finished?
Thank you so much for reading.
© Stack Overflow or respective owner