1

As in WhatsApp, if you click on a name to call, down the list you will find the WhatsApp logo in front of the number if you want to txt using WhatsApp.
Can we add the easyPhoneCard in that list, so the user can directly call using that option without clicking on the prompt to call.

Prophet
  • 32,350
  • 22
  • 54
  • 79
user8938
  • 559
  • 1
  • 4
  • 12

1 Answers1

1

You have to add in your manifest some rules.

In that way, Android will be able to list your application as compatible with a specific action (here is call action)

I think it will be something like

<intent-filter>
    <action android:name="android.intent.action.CALL" />
    <category android:name="android.intent.category.DEFAULT" />
    <action android:name="android.intent.action.CALL_PRIVILEGED" />
    <data android:scheme="tel" />
</intent-filter>

(add this in your activity node that will handle operations)

azerto00
  • 1,001
  • 6
  • 18
  • 1
    I have already done it works when we click to call but I also want to show my app icon infront of contact like whatsapp icon show in front of contact whose are already on whatsapp. – user8938 Nov 06 '13 at 09:38