user1917209
user1917209

Reputation: 205

Android phone calls from an application

In android programming, is it possible to make a phone call within a service without showing the 'phone call screen'? Any example would be very helpful. Thanks in advance.

Upvotes: 2

Views: 115

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006564

In android programming, is it possible to make a phone call within a service without showing the 'phone call screen'?

That depends on what you consider the "phone call screen" to be.

If you mean the dialer, then, yes, you can use an ACTION_CALL Intent to bypass that, assuming that you hold the CALL_PHONE permission.

If you mean the in-call screen then, no, AFAIK there is no way to avoid that screen. That screen is rather important for the user.

Upvotes: 4

Related Questions