Reputation: 205
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
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