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

  • SEARCH
  • Home
  • 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 3758672
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:11:53+00:00 2026-05-19T10:11:53+00:00

I have one activity and three intet filters, each with different label set on,

  • 0

I have one activity and three intet filters, each with different label set on, (AndroidManifiest.xml below)

    <activity android:name=".activities.RecordActivity">
        <intent-filter>
            <category android:name="android.intent.category.DEFAULT" />
            <action android:name="com.keitai.enigma.OPEN_RECORD" />
        </intent-filter>
        <intent-filter android:label="@string/newRecord">
            <category android:name="android.intent.category.DEFAULT" />
            <action android:name="com.keitai.enigma.NEW_RECORD" />
        </intent-filter>
        <intent-filter android:label="@string/editRecord">
            <category android:name="android.intent.category.DEFAULT" />
            <action android:name="com.keitai.enigma.EDIT_RECORD" />
        </intent-filter>
    </activity>

But activity title is not changing to label set in intent filter 🙁 Activity always contains application label.

What I’m donig wrong?

  • 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-19T10:11:54+00:00Added an answer on May 19, 2026 at 10:11 am

    Are you sure you don’t have code that is setting the title explicitly?

    Are you sure that the OPEN_RECORD intent isn’t the one being triggered every time?

    Have you tried debugging by making sure everything has a distinct label (application, activity, each intent-filter) and seeing what happens?

    I agree with you that what you expected to happen is what the docs say should happen. But it seems like the default <application> label is being used regardless. I’m afraid if one of the above ideas doesn’t help, then I’m out of ideas. I might try it myself later on my system to see if it happens for me.


    http://developer.android.com/guide/topics/manifest/intent-filter-element.html#label

    android:label

    A user-readable label for the parent component. This label, rather than the one set by the parent component, is used when the component is presented to the user as having the capability described by the filter.

    …

    The default value is the label set by the parent component. If the parent does not specify a label, the default is the label set by the element’s label attribute.


    http://developer.android.com/guide/topics/manifest/manifest-intro.html#iconlabel

    Icons and Labels

    …

    In every case, the icon and label set in a containing element become the default icon and label settings for all of the container’s subelements. Thus, the icon and label set in the element are the default icon and label for each of the application’s components. Similarly, the icon and label set for a component — for example, an element — are the default settings for each of the component’s elements. If an element sets a label, but an activity and its intent filter do not, the application label is treated as the label for both the activity and the intent filter.

    …

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

Sidebar

Related Questions

I have an intent filter that looks like so: <activity android:name=com.test.Call android:label=@string/makeCall > <intent-filter>
Can some one tell me were i am going wrong. i have three activity's
I have three buttons sending different variables to an activity: Intent i = new
I have one main Activity with layout wrapped into ScrollView like this: <ScrollView android:layout_height=wrap_content
I have to include one report in my application showing offline/online activity of few
I have one text input and one button (see below). How can I use
I have an android-app with a listview in an activity. The listview has, if
I have an Android widget that has a configure activity. I also have an
I have a tab activity, and inside one tab I have activitygroup. Initially activity
I have an application that contains two Activities with <intent-filter> <action android:name=android.intent.action.MAIN/> <category android:name=android.intent.category.LAUNCHER/>

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.