1

I read about using ACTION_SEND to get registered list apps from this link

I'm using code:

Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my text to send.");
sendIntent.setType("text/plain");
startActivity(sendIntent);

, but I want send to specified app without the list. How to do that?

Manish Dubey
  • 4,206
  • 8
  • 36
  • 65
TheTG
  • 11
  • 1
  • 5
  • This should solve your problem http://stackoverflow.com/questions/8308666/how-to-force-share-intent-to-open-a-specific-app – the-ginger-geek Mar 19 '13 at 12:22
  • 2
    "I want send to specified app without the list" -- what *you* want is not important. What the *user* wants is important. Please allow the *user* to choose where the *user* shares the *user's* data. – CommonsWare Mar 19 '13 at 12:30

1 Answers1

-1

Specify in the intent something that only the specified activity will handle, for instance, a custom mimetype or the actual target class name using intent.setClassName().

Alécio Carvalho
  • 13,481
  • 5
  • 68
  • 74