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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:22:01+00:00 2026-05-23T22:22:01+00:00

I am implementing an app that uses the native language settings which can be

  • 0

I am implementing an app that uses the native language settings which can be accessed from:
Menu > Settings > Language & Keyboard > Select Language > Locale

I can also open the Locale page directly using an intent which lists the languages by using the following code:

Intent languageIntent = new Intent(Intent.ACTION_MAIN);
languageIntent.setClassName("com.android.settings", "com.android.settings.LocalePicker");
activity.startActivity(languageIntent);

^– code credit: Change language settings (locale) for the device

This works great on versions before Honeycomb. However the settings for Honeycomb has the little navigation area off to the left, like so:

Image

and when i execute the above code I get this error:

Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.LocalePicker } from pid 24294
FATAL EXCEPTION: main
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings/com.android.settings.LocalePicker}; have you declared this activity in your AndroidManifest.xml?

Any idea why this is happening? If i change “com.android.settings.LocalePicker” to “com.android.settings.Settings” it will open up the settings page to whatever setting you had last selected but if i try to change the classname to something like: “com.android.settings.Settings.LocalePicker” it blows up again. Here is some modified code which I’m using until this issue is resolved:

Intent languageIntent = new Intent(Intent.ACTION_MAIN);
int currentApiVersion = android.os.Build.VERSION.SDK_INT;
final int HONEYCOMB = 11;
if (currentApiVersion < HONEYCOMB) // "HONEYCOMB" should be replaced with android.os.Build.VERSION_CODES.HONEYCOMB, but version code 'honeycomb' is not supported...
{
    languageIntent.setClassName("com.android.settings", "com.android.settings.LocalePicker");
}
else
{
    languageIntent.setClassName("com.android.settings", "com.android.settings.Settings");
}
activity.startActivityForResult(languageIntent, WtgActivity.LANGUAGE_CHANGE_REQUEST);

Running code that does something different based on version number is not ideal, so if anyone knows how to fix this i would appreciate it.

Thanks!

  • 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-23T22:22:01+00:00Added an answer on May 23, 2026 at 10:22 pm

    Try this:

    Intent languageIntent = new Intent(Settings.ACTION_LOCALE_SETTINGS);
    startActivity(languageIntent);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm implementing a search feature for an app that uses entity framework. There are
Scenario: I have a Grails app that uses Acegi security for authentication. I'm implementing
I am implementing a locking system in my app which protects my app against
I'm currently writing an ASP.Net app from the UI down. I'm implementing an MVP
I am implementing an in-app browser using UIWebView, that shows an 'action' button up-top
What's the best way (in a WPF app, C#) of implementing control behaviour that
Imagine an ASP.Net 2.0+ app that uses the built-in role-based security to restrict users
I'm implementing in-app billing support in my application. I just realized that even though
I'm implementing saved data on my app by using NSUserDefaults, like this: [[NSUserDefaults standardUserDefaults]
What is the best approach to implementing authorisation/authentication for a Windows Forms app talking

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.