1

This question is possible duplicate of Android QuickContact Badge

I am able to show my app icon in the quickContactBadge that is shown on a stored contact with a name by writting this in AndroidManifest.xml:

<intent-filter> 
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:mimeType="vnd.android.cursor.item/name" />
</intent-filter>

This is of course not working for not stored (unknown) numbers. I was searching in the documentation http://developer.android.com/reference/android/provider/CallLog.Calls.html#CONTENT_ITEM_TYPE and this should be sufficient:

<intent-filter> 
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:mimeType="vnd.android.cursor.item/calls" />
</intent-filter>

However, it does display nothing... I searched on the web and somme google apps are not using it anymore (sorry, can't find the diff anymore) but I could not find any equivalent.

Sufficient for me would to resolve this for version Android 4.+

Thank you for any tips.

Community
  • 1
  • 1
Amio.io
  • 20,677
  • 15
  • 82
  • 117

0 Answers0