See http://groups.google.com/group/android-developers/browse_thread/thread/897ffbb8caca9a5a/f019723bbbe511b2#f019723bbbe511b2
On Nov 18, 3:24 pm, Adrian A <[EMAIL PROTECTED]> wrote: > BTW, I've already looked at the NotesList sample (which doesn't seem > to display extra menus after I created my own app to interface with > it), went through the source code of the Android platform (there is no > call to "addIntentOptions" in TwelveKeyDialer for example), went > through the groups a few times, FAQ, ... > > Although I've read several people's postings about this feature (which > apparently works) I have still to find an application that uses it. > > Is there any video/application that uses this feature? Has anyone > been able to add their menus to the Phone application (contacts, call > log, etc)? > > Many thanks in advance, > Adrian > > On Nov 14, 3:24 pm, Adrian A <[EMAIL PROTECTED]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---

