Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6736237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:06:23+00:00 2026-05-26T11:06:23+00:00

I want to have a menu item display when a user is viewing a

  • 0

I want to have a menu item display when a user is viewing a contact in the android contact app. I thought you had to define a intent-filter and it would show up, but it is not working like I thought it would

This is my intent-filter:

<activity android:name="com.myapp.intents.Contact" android:label="@string/actContactsMenu">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/person"
android:host="contacts" />
<data android:mimeType="vnd.android.cursor.item/contact"
android:host="com.android.contacts" />
<data android:mimeType="vnd.android.cursor.item/raw_contact"
android:host="com.android.contacts" />
 </intent-filter>
</activity>

With the above, no menu displays when I am viewing a contact, but when I click on a contact in the listing, I get a popup with my activity name in it and when I choose it my activity shows up. Same goes for when I try to edit a contact.

This is not really what I want. What I want is for a menu to display when viewing a contact and editing a contact. Are intent-filters not the way to do this?

Thanks for any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:06:23+00:00Added an answer on May 26, 2026 at 11:06 am

    After searching through the Android google group, it seems that this is not possible. For some reason the contacts application does not currently call the addIntenOptions method which Android uses to find any actions that can be performed on the current data. Not sure if I should be answering my own question, but I figure it might help someone else who is trying to do the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a menu with button objects in As3. I want to display the
I have to retrieve a list of menu item from a database and display
I want to have the script display each item on a list of value
I have a menu built with <ul> and <li> tags. I want to have
I want to have the context menu of links provide me an option to
I have a menu div that I want to slide down so it's always
I have a menu bar and I want to create a div for each
I have a menu of product brands that I want to split over 4
I have a menu with an animation going on, but I want to disable
I have a ASP.Net Menu Control with three levels and flyouts enabled. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.