Questions tagged [android-intent-chooser]

An Intent to choose from different app options to resolve your request.

Example of usage:

Intent intent = new Intent(Intent.ACTION_SEND);

// Always use string resources for UI text.
// This says something like "Share this photo with"
String title = getResources().getString(R.string.chooser_title);
// Create intent to show chooser
Intent chooser = Intent.createChooser(intent, title);

// Verify the intent will resolve to at least one activity
if (intent.resolveActivity(getPackageManager()) != null) {
    startActivity(chooser);
}

Reference to Android page

111 questions
0
votes
3 answers

Java android pick a photo from gallery for a folder

I don't know how I can pick a photo from gallery from one folder : Now I have this : private void galleryIntent() { Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT);// …
0
votes
2 answers

Click on email intent chooser not opening the email app or any of the mail client

i just want to send an email with attachments. i just done everything based on the developer site. https://developer.android.com/training/sharing/send.html it opening the email intent chooser but when i click on any of the app in chooser it doesn't…
user3546693
  • 364
  • 3
  • 18
0
votes
1 answer

Android: Call intent after share intent

I am developing an application in which i am sharing URL from my app with the help of share intent as: final Intent intentShare = new Intent(Intent.ACTION_SEND); intentShare.setType("text/plain"); intentShare.putExtra(Intent.EXTRA_TEXT,…
-1
votes
1 answer

How can I change the default app for opening a URI and enlist all the supported Android apps for this purpose?

Override the always-selected app by the user in Android Kotlin Use case: I parse the URL to intent in order to initialize the system to open the supported app by the user. Now user selects Firefox as always and whenever the user taps on the URL(to…
Ammar
  • 765
  • 1
  • 8
  • 18
-1
votes
1 answer

how can you share location same like whatsapp in android with chooser dialog?

I want "share location" functionality same like whatsapp in my current application. Now to open chooser dialog i used below mentioned code. public static void showFileChooser(Activity activity, Fragment fragment, boolean isAllowMultiple) { …
-1
votes
1 answer

Share file using Glide

I'm trying to share GIF file. I want to share it via any social networking apps, I have a problem with file name. I don't how to get name file. This is my code: llsetwallpapers.setOnClickListener(new View.OnClickListener() { @Override …
MrMR
  • 279
  • 6
  • 16
1 2 3 4 5 6 7
8