share icon 2fbutton

Solutions on MaxInterview for share icon 2fbutton by the best coders in the world

showing results for - "share icon 2fbutton"
Ben
25 Nov 2019
1Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND); 
2sharingIntent.setType("text/plain");
3String shareBody = "Here is the share content body";
4sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Subject Here");
5sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody);
6startActivity(Intent.createChooser(sharingIntent, "Share via"));
7
similar questions
queries leading to this page
share icon 2fbutton