Borja Borja - 11 months ago 70
Android Question

Intent Action Call in Android 5

I have this code, that works fine in Android 4.4 and previous:

Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:" + number));

Now, in Android 5.0 Lollipop this code doesn't work, and shows this exception:

Fatal Exception: android.content.ActivityNotFoundException
No Activity found to handle Intent { act=android.intent.action.CALL dat=tel:xxxxxxxxx }

In the documentation, this
doesn't appear deprecated:

Any idea? Thanks in advance

Answer Source

Seems like the package name has been changed from 


Hope this helps!