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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:44:27+00:00 2026-06-05T06:44:27+00:00

If you go to imgur.com from your Android device, click on Upload an Image

  • 0

If you go to imgur.com from your Android device, click on Upload an Image and then on Touch here to select your images, the Android prompts you with a Choose file for upload with few options. The good thing about this picker is that even if there is no camera as an option (for older phones) you can start the camera from the Gallery application, take a picture and eventually select it from the gallery to be uploaded.

That works also for any file <input> on any website.

So my question is: how can I invoke that file picker and eventually get the path to the selected image in native Java app?

If possible I would like to filter it so it will prompt only for images and not audio files and I don’t want to install any file managers since it’s doable within the browser. It’s hard to believe that is available only for the Browser.

I don’t want to implement my own file browser or list the camera’s folder within my app. I’m also just starting with Android so a complete example to get eventually the file path or an image would be awesome.

  • 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-05T06:44:28+00:00Added an answer on June 5, 2026 at 6:44 am

    Based on the chooser that comes up, <input> would appear to be requesting an ACTION_GET_CONTENT activity, with a MIME type of */*.

    If possible I would like to filter it so it will prompt only for images and not audio files

    Use a MIME type of image/*.

    I’m also just starting with Android so a complete example to get eventually the file path or an image would be awesome.

    See: https://stackoverflow.com/a/10274699/115145

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

Sidebar

Related Questions

I am using Imgur api to upload image from my webapp. How to extract
My idea is to implement something like this: https://i.stack.imgur.com/8BmW5.png screenshot is from here: http://www.thedrum.co.uk/opinion/2012/03/08/five-ways-new-facebook-timeline-will-impact-brands
A relevant image of my model is here: https://i.stack.imgur.com/xzsVU.png I need to make a
https://i.stack.imgur.com/bRXcy.png This image is a 78*24 image of the alphabet, with each letter in
Here is my webview (without content) on Galaxy Note: https://i.stack.imgur.com/YebnZ.png I can't find how
'Android Design' site is recommending 'Boundary feedback' for scrollable view. http://developer.android.com/design/style/touch-feedback.html https://i.stack.imgur.com/TuBkX.png is there
I have an input box that tells uers to enter a link from imgur.com
I am trying to get the images in xml file from the imgur website.
I am interested in retrieving this type of link from maps.google.com https://i.stack.imgur.com/2rInK.jpg At the
I'm using this PHP to parse a XML file: <?php $xml = simplexml_load_file(http://api.imgur.com/2/image/zzFV5.xml); echo

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.