Hello,
I'm trying to associate my activity as an alternate dial option.
For some reason though, my action doesn't show up when I long press on
a contact, or (in the call log) when a long press a phone number.
Any idea why? Is there any sample code out there?
Many thanks in advance,
Adrian
Here's the important part of my .xml:
<activity android:name=".GeneralStatusActivity" android:label="@string/
app_name">
<intent-filter android:label="Special call">
<action android:name="android.intent.action.DIAL" />
<category
android:name="android.intent.category.DEFAULT" />
<category
android:name="android.intent.category.BROWSABLE" />
<category
android:name="android.intent.category.ALTERNATIVE" />
<category
android:name="android.intent.category.SELECTED_ALTERNATIVE" />
<data android:mimeType="vnd.android.cursor.item/
phone" />
<data android:mimeType="vnd.android.cursor.item/
person" />
</intent-filter >
<intent-filter android:label="Special call">
<action android:name="android.intent.action.DIAL" />
<category
android:name="android.intent.category.ALTERNATIVE" />
<category
android:name="android.intent.category.SELECTED_ALTERNATIVE" />
<category
android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter android:label="Special call">
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.DIAL" />
<category android:name="android.intent.category.ALTERNATIVE" />
<category
android:name="android.intent.category.SELECTED_ALTERNATIVE" />
<category
android:name="android.intent.category.DEFAULT" />
<category
android:name="android.intent.category.BROWSABLE" />
<data android:scheme="tel" />
</intent-filter>
</activity>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---