I have used Sharing-type intents before, such as:
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType(\"plain/text\");
intent.putExtra(Intent.EXTR
You can do that by using a sharing intent
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
shareIntent.setType("text/plain");
shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Hey, download this app!");
startActivity(shareIntent);
you can put this intent in an onclick or use it whereever you want
I think this answers your question =)