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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:24:06+00:00 2026-05-20T20:24:06+00:00

Normally a user would have to go to the notification bar -> click Select

  • 0

Normally a user would have to go to the notification bar -> click “Select to copy files to/from your computer” and then be presented with the activity offering mount/unmount/etc. options. Can anyone share their experience trying to open this from an application?

It appears one guy found a way to open this from within an application here, but only for an HTC phone. Any idea how I could find out what that activity might be for other devices as well?

EDIT: See Comments below; it appears it may be device independent, and the full name of the class is com.android.server.status.UsbStorageActivity

  • 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-20T20:24:07+00:00Added an answer on May 20, 2026 at 8:24 pm

    Unfortunately, it appears only the system can open this dialog.

    I attempted to launch UsbStorageActivity with

        Intent intent = new Intent();
        intent.setClassName("android", "com.android.server.status.UsbStorageActivity");
        getContext().startActivity(intent);
    

    But got the following exception:

    03-21 09:13:55.653: WARN/ActivityManager(2491): Permission denied: checkComponentPermission() reqUid=1000
    03-21 09:13:55.653: WARN/ActivityManager(2491): Permission Denial: starting Intent { cmp=android/com.android.server.status.UsbStorageActivity } from ProcessRecord{47d615c8 3399:com.saltillo.chatpc/10080} (pid=3399, uid=10080) requires null
    03-21 09:13:55.657: DEBUG/AndroidRuntime(3399): Shutting down VM
    03-21 09:13:55.657: WARN/dalvikvm(3399): threadid=1: thread exiting with uncaught exception (group=0x4001d7d0)
    03-21 09:13:55.665: ERROR/AndroidRuntime(3399): FATAL EXCEPTION: main
    03-21 09:13:55.665: ERROR/AndroidRuntime(3399): java.lang.SecurityException: Permission Denial: starting Intent { cmp=android/com.android.server.status.UsbStorageActivity } from ProcessRecord{47d615c8 3399:com.saltillo.chatpc/10080} (pid=3399, uid=10080) requires null
    

    Which I interpret to mean this process cannot be launched without sharing the system uid. Which as far as I know is impossible. Otherwise, someone please correct me!

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

Sidebar

Related Questions

A user can import data into our website from a file. The data normally
Normally the XML files I have to parse are like this: <row id=1> <title>widget<title>
if I have two tables: files(id, owner) and share(file_id, user) , where owner and
(send: that is to emulate typing these keys as user would normally do it)
Normally you would have a single ErrorProvider for all the controls on a form;
Normally when using Nhibernate I have models in the Nhibernate project, then they are
Okay, normally I would consider myself an intermediate user of jquery, but this seems
Normally whenever a CAPTCHA might be needed I always present it to the user
Normally, when I want to allow a user to download a file without revealing
a post has a user (belongsTo) and a user has a profile (hasOne). Normally

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.