0

I want to make a call to a given number from my app. Sample picture attached. sample app screen

And it should not show the dialing pad or dialing prompt. When I try it with following dialing prompt comes.

Intent it = new Intent(Intent.ACTION_CALL, Uri.parse("tel:1234567890")));}

Dialing prompt is appears as follows

Dialing prompt

So how to dial directly from my app without showing the dialing prompt?

saji159
  • 328
  • 7
  • 14
  • 1
    You can't, because the user's default dialer receives the intent. And that's a good thing because it stops apps from making malicious calls. – Simon Oct 12 '12 at 05:25
  • :( so sad to hear it.... @Simon Thank you machan. – saji159 Oct 12 '12 at 05:31
  • [Possible duplicated](http://stackoverflow.com/q/1811680/1050058) – Trung Nguyen Oct 12 '12 at 05:36
  • @Yul : I need to make the call without the dialer. ACTION_CALL and ACTION_DIAL load the default dialer. So this is not a duplicate. – saji159 Oct 12 '12 at 05:42
  • I don't see any much difference between `Dial Number Without Prompt` and `Make a call using android app without showing the dialing prompt?` . The basic is `call without show dialing promt`. – Trung Nguyen Oct 12 '12 at 05:56
  • @Yul : Yep you point is correct. But answer of Dial Number Without Prompt does not solve my problem. – saji159 Oct 12 '12 at 06:29

0 Answers0