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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:16:20+00:00 2026-05-23T07:16:20+00:00

I’m trying to launch the Android tethering settings menu from within a program, however

  • 0

I’m trying to launch the Android tethering settings menu from within a program, however it’s one of those semi-hidden menus with a slash in its name (com.android.settings/.tether.Tether) and I’m not sure what I should be referring to it as. This is what I’ve tried so far:

Intent intent = new Intent();
intent.setClassName("com.android.settings", "com.android.settings/.tether.Tether");
startActivity(intent);

I’ve also tried “com.android.settings/” in the setClassName line

However, either way, it says it can’t find the class:

I/ActivityManager( 51): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/com.android.settings/.tether.Tether }
D/AndroidRuntime( 254): Shutting down VM
W/dalvikvm( 254): threadid=3: thread exiting with uncaught exception (group=0x4001b188)
E/AndroidRuntime( 254): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 254): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zzzz.launcher/com.zzzz.launcher.Launcher}: > android.content.ActivityNotFoundException: Unable to find explicit activity class > {com.android.settings/com.android.settings/.tether.Tether}; have you declared this activity in your AndroidManifest.xml?

I have the following activity listed in my manifest file:

<activity android:name="com.android.settings/.tether.Tether" />

(And I’ve also tried escaping the slash with a backslash, there)

There doesn’t appear to be any associated Settings.* value associated with it, so the usual way of launching like the following, wouldn’t work:

startActivity(new Intent(Settings.ACTION_TETHER_SETTINGS));

…but even so, I would still like to learn how I can launch it with its classname, because there are other classes with slashes in their names (such as com.android.settings./proxySelector) that I’d like to launch in a similar way.

Cheers,

Paul

(Further stacktrace:)

I/ActivityManager( 59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.zzzz.launcher/.ProxySet bnds=[163,240][237,319] }
I/ActivityManager( 59): Start proc com.zzzz.launcher for activity com.zzzz.launcher/.ProxySet: pid=397 uid=10040 gids={1015}
I/ActivityManager( 59): Starting activity: Intent { cmp=com.android.settings/.ProxySelector }
D/AndroidRuntime( 397): Shutting down VM
W/dalvikvm( 397): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
E/AndroidRuntime( 397): FATAL EXCEPTION: main
E/AndroidRuntime( 397): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zzzz.launcher/com.zzzz.launcher.ProxySet}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings/.ProxySelector}; have you declared this activity in your AndroidManifest.xml?

  • 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-23T07:16:21+00:00Added an answer on May 23, 2026 at 7:16 am

    com.android.settings/.tether.Tether is two parts. The first, before the slash, is the package name. The second, after the slash, is the class name. In the contexts you’re using them, they must be specified separately.

    There are multiple problems with your code:

    1. intent.setClassName("com.android.settings", "com.android.settings/.tether.Tether"); should be intent.setClassName("com.android.settings", ".tether.Tether");

    2. You should not have the activity listed in your manifest; that should be done ONLY if you are implementing the class. It only asked if you have the activity listed in your manifest because it assumed you were implementing it yourself.

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

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Does anyone know how can I replace this 2 symbol below from the string
I am trying to loop through a bunch of documents I have to put
I have a bunch of posts stored in text files formatted in yaml/textile (from
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I'm making a simple page using Google Maps API 3. My first. One marker
I'm new to using the Perl treebuilder module for HTML parsing and can't figure

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.