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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:17:05+00:00 2026-06-17T09:17:05+00:00

My manifest as below: <activity android:name=SendLauncherActivity > <intent-filter> <action android:name=android.intent.action.SEND_MULTIPLE /> <category android:name=android.intent.category.DEFAULT />

  • 0

My manifest as below:

<activity android:name="SendLauncherActivity" >
    <intent-filter>
        <action android:name="android.intent.action.SEND_MULTIPLE" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:mimeType="*/*" />
    </intent-filter>
</activity>

I want to get each file’s path.
So I have code as below:

Intent intent = getIntent();
String action = intent.getAction();
String type = intent.getType();

ArrayList<Uri> imageUris = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
if (imageUris != null) {
    for(int i = 0; i < imageUris.size();i++) {
    System.out.println("Path " + imageUris.get(i).getPath());
    }
}

But I get path such as below:

01-17 18:21:13.350: I/System.out(20564): Path /external/file/15406

How can I modify to get the actual file path? 

  • 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-17T09:17:06+00:00Added an answer on June 17, 2026 at 9:17 am

    There might not be an “actual file path”.

    If you look, your scheme is probably content://. This is data served by a ContentProvider. There does not have to be a file.

    You can use ContentResolver to get an InputStream for this Uri, regardless of whether it is a file or something else being streamed to you.

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

Sidebar

Related Questions

In B's manifest as below: <activity android:name=BActivity > <intent-filter> <action android:name=ACTION_TEST /> <category android:name=android.intent.category.DEFAULT
I've got a full screen, portrait activity as defined below. In manifest: <activity android:name=.CameraActivity
I have an activity which I want to use to display data sent from
This is my codes below. I'm trying to use intent to call another activity
My Manifest file is below <?xml version=1.0 encoding=utf-8?> <manifest xmlns:android=http://schemas.android.com/apk/res/android package=FXPAL.Unity.Android android:versionCode=1 android:versionName=1.0 >
I developed an android app. Its manifest is very simple and copied below. <?xml
In my manifest file I have given installLocation=internalOnly in the manifest tag and below
Here is my manifest file which shows error string types not allowed at android:configChanges
I switched in manifest manually between activities because I made new activity that needed
I am getting ActivityNotFoundException though i register the Activity class in the Manifest file.

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.