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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:39:21+00:00 2026-06-02T16:39:21+00:00

I have been taking a look over stackoverflow but I did’t find a definition

  • 0

I have been taking a look over stackoverflow but I did’t find a definition about what is “createChooser” and why I can use and in whick kind of situations is good to use it.

Thanks in advance.

  • 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-02T16:39:22+00:00Added an answer on June 2, 2026 at 4:39 pm

    For example: you have a share picture option in your application.

    You define an intent like this:

    Intent picMessageIntent = new Intent(android.content.Intent.ACTION_SEND);
    picMessageIntent.setType("image/jpeg");
    
    File downloadedPic =  new File(
        Environment.getExternalStoragePublicDirectory(
        Environment.DIRECTORY_DOWNLOADS),
        "q.jpeg");
    
    picMessageIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(downloadedPic));
    

    Than when you call:

    startActivity(picMessageIntent);  
    

    all applications on your phone capable of getting this picture will be listed.

    If you want to custimize the title of that list, you can use createChooser like this:

    startActivity(Intent.createChooser(picMessageIntent, "Send your picture using:"));
    

    enter image description here

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

Sidebar

Related Questions

Tonight I've been taking a look at some code I've been working on over
I have been taking a look around and the most popular .NET drivers for
I've been taking a look at the use of namespaces in ActionScript 3, and
I have been trying to find some more information about the next Microsoft Dynamics
I know this question has been asked 100x but I can't seem to find
I have been taking a few graduate classes with a professor I like alot
I have been considering taking the plunge and installing Linux on my Playstation 3.
Say three Rails instances have been spawned and are taking requests. For each request
In the data structures class that I am currently taking, we have been tasked
have been playing with Cubepoints (wordpress plugin) and have installed the ranks module but

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.