android-intent-chooser Questions

0

I was trying to create a chooser to grant users freedom to open a pdf file with the application they prefer. Here's my approach: private void openPdf(String pdfUrl, String mime) { // Intent pdfVie...
Snuffer asked 17/1, 2022 at 7:14

4

Solved

Device: Emulator pixel 3a - Android 11 Code: final List<Intent> cameraIntents = new ArrayList<Intent>(); final Intent captureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); fin...

0

I am new to android and learning it, what I want is to choose folder/directory from a specified path like in my case path will be sd-card/DMM/DT, I want that directory chooser start from this folde...
Amalgamate asked 7/8, 2018 at 17:5

1

I have tried to make my own Chooser Activity to replace androids share to... popup. I took a look at ChooserActivity extends ResolverActivity and tried to copy the code. In my manifest I have &l...
Dato asked 2/7, 2018 at 14:48

1

I'm building a Chooser app that replaces the native Android Share dialog. It works fine except when I try to share an image from Chrome via longpress image > share image. I found that Google+ doe...
Humes asked 4/7, 2018 at 19:31

1

Solved

I'm creating this question after finding the answer, I was not sure about the etiquette, but it seems to be OK (plus, I see now there's a built-in option). The problem was as described in the titl...
Joanjoana asked 16/11, 2017 at 9:13

16

Solved

What I'm trying to do seems very simple, but after a few days of searching I can't quite figure it out. I have an application that allows the user to select multiple(up to 5) images. I'm using an...

2

Solved

I have some images stored in local app connected with certain contexts (like contacts). I'm using direct share (API 23+) via ChooserTargetService to show these to choose from and I want to ChooserT...

1

Solved

I want to detect what app the user selects after I present him with a createChooser() dialog. So I have created my BroadcastReceiver subclass like this: import android.content.BroadcastReceiver; i...

1

Solved

Background I wish to show the native intent-chooser, while having the ability to customize it a bit. For this, I've found the next StackOverflow thread: How to customize share intent in Android?...

1

Solved

In my android application I want the user to choose, which other application should be used to display a certain image if there are more than one possible apps. Therefore I got following code: fin...
Illegitimacy asked 5/7, 2016 at 8:8

0

How to ignore specific set of URLs from Intent Filter. Existing filter. <intent-filter android:autoVerify="true"> <action android:name="android.intent.action.VIEW" /> <category a...

2

Solved

This is my Intent: Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("text/* , application/pdf, image/*"); But, when the file explorer shows up, the PDF files are grayed out ...
Sextuplicate asked 11/4, 2016 at 4:55

2

Solved

Basically when an app shares a video url my app is supposed to show up on the list but it doesn't. Neither does MXPlayer but the Google Photos media player shows up fine as well as allcast (which h...

1

Solved

I have a file picker implemented in my app like this: Intent intent = new Intent(); intent.setType("*/*"); intent.setAction(Intent.ACTION_GET_CONTENT); startActivityForResult(Intent.createChooser(...
Trantham asked 18/1, 2016 at 15:58

2

Solved

I am trying to allow a user to select an image, either from the gallery or by taking a picture with the camera. I tried this: Intent imageIntent = new Intent(Intent.ACTION_GET_CONTENT); imageInt...
1

© 2022 - 2024 — McMap. All rights reserved.