0

Is there any way to create default share intent which allow save, copy and print option in intent chooser. Need help.

                    URL pdfUrl;
                    try {
                        pdfUrl = new URL(pdfData.getFile());
                    } catch (MalformedURLException e) {
                        throw new RuntimeException(e);
                    }
                    Intent intentShare = new Intent(Intent.ACTION_SEND);
                    intentShare.setType("text/plain");
                    intentShare.putExtra(Intent.EXTRA_SUBJECT, "Sharing File...");
                    intentShare.putExtra(Intent.EXTRA_TEXT,pdfUrl);
                    startActivity(Intent.createChooser(intentShare, "Share File"));

It allow only copy and I want copy,save and print.

0 Answers0