Share Plain Text Using Share Intent To All Messaging Apps
If you are looking for implementing sharing feature for your android app for Whatsapp app only then you are at the right place, using this tutorial you can share simple plain text to Whatsapp App using Share Intent.
For implementing Sharing Intent Feature you just need to add the following thing.
Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my plain text to send to whatsapp directly."); sendIntent.setType("text/plain"); startActivity(sendIntent);
Hope you liked our simple solution for implementing Share plain text using share intent tutorial for Whatsapp App.