5

I need to include additional dialing options in the menu appearing after pressing "Call" over a contact (Screenshot).

I'm trying to do it with action-filters for the DIAL and CALL intents without any success.

I know this is possible because Skype does it (Screenshot). Anybody knows how to implement it?

ggarber
  • 8,300
  • 5
  • 27
  • 32

2 Answers2

5

I think the Intent you're looking for is android.intent.action.CALL_PRIVILEGED. Have a look at the complete Skype manifest.

Josef Pfleger
  • 74,165
  • 16
  • 97
  • 99
  • I am confused why you put skype manifest here. But I need to put skype name when dialing from my application. How to do that? Isn't it going to automatically in the dialing list when Skype is installed? Thanks – ruben Jun 10 '11 at 20:54
3

I'd start here: using android dialer in 3rd party app

And look through the Android dialer source to see what intents it uses

Then, check the official Intent list:

Which leads me to guess you need to at least include:

  • VIEW
  • DIAL
  • CALL

in category DEFAULT

Rahul Sharma
  • 2,867
  • 2
  • 27
  • 40
mchang
  • 681
  • 4
  • 4
  • 1
    +1 for the idea of looking at the source code, although it should be the Contacts application. I found that the intent is CALL_PRIVILEGED as suggested by Josef: http://android.git.kernel.org/?p=platform/packages/apps/Contacts.git;a=blob_plain;f=src/com/android/contacts/ContactsUtils.java;hb=HEAD – ggarber Nov 28 '10 at 09:31