0

Say if, I want to restore an .vcf file / send an email from my app and i use Implicit Intents to achieve it.

But, it pops up some options like (for vcf files: Editor, people. for email: gmail, mail).

I want only one application to be opened by default (Without prompting the user).

How can i do that?

Hamad
  • 5,096
  • 13
  • 37
  • 65
SilleBille
  • 605
  • 5
  • 21
  • You can't, for very good reasons. It would be a security hole if you could. Android ensures that I am in control of what apps open for what actions, not you! – Simon Dec 07 '13 at 15:26
  • Why would the user want this? Were you planning on just randomly choosing some app to open? – CommonsWare Dec 07 '13 at 16:41
  • I felt that for sending a mail, it showed options and i was irritated and felt that my users no need to be prompted. That's why – SilleBille Dec 07 '13 at 17:16

0 Answers0