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 8511431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:59:22+00:00 2026-06-11T03:59:22+00:00

i have an accessibility application ive written, but on android 4.0 and higher, the

  • 0

i have an accessibility application ive written, but on android 4.0 and higher, the api allows for a settings activity to be set. This defeats the purpose of having a launcher entry. Is there a way to single out 4.0 and higher systems in the manifest to not have the launcher icon?

EDIT: solution

I subclassed the original settings to a JB/ICS one. this is pretty uncessesary at this point, but if something JB/ICS specific is added to the app, it would probably be good in the long run to keep them seperate.

thanks alanv, your snippet did still 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-06-11T03:59:24+00:00Added an answer on June 11, 2026 at 3:59 am

    You can selectively disable an activity based on the platform version. Add an activity alias for your Settings activity and set the enabled attribute to a platform-specific value. This will ensure that it only shows up in the Launcher when you need it to.

    AndroidManifest.xml:

    <activity
        android:name=".MySettingsActivity"
        . . . >
    </activity>
    
    <activity-alias
        android:name=".MyActivityAlias"
        android:label="@string/settings"
        android:targetActivity=".MySettingsActivity"
        android:enabled="@bool/show_settings">
            <intent-filter>
            . . .
            </intent-filter>
    </activity-alias>
    

    values-v14/bool.xml:

    <bool name="show_settings">false</bool>
    

    values/bool.xml:

    <bool name="show_settings">true</bool>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently implemented a program using the Microsoft Accessibility API, but have since been
have written this little class, which generates a UUID every time an object of
I am looking into adding accessibility support to a WPF application. This article describes
I have alluded to this issue in my other question , but i think
I have a WPF C# application here, finally have solved errors. But after I
I have begun doing dojo accessibility testing on a web application and have noticed
I have written a console application in C# /VS2008. In that I have multiple
I have this error message: Inconsistent accessibility: property type 'Comm.Resources.AppResources' is less accessible than
I've noticed that a UIScrollView doesn't have mentioned accessibility area where I can set
I’m trying to patch an application that resizes windows using the accessibility API. I

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.