Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

Share Icon/Button

Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND); 
sharingIntent.setType("text/plain");
String shareBody = "Here is the share content body";
sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Subject Here");
sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody);
startActivity(Intent.createChooser(sharingIntent, "Share via"));
Comment

PREVIOUS NEXT
Code Example
Java :: how to run the war file in Apache Tomcat/8.5.59 THROUGH SPRING 
Java :: Java program to demonstrate working of HashTable 
Java :: java overloading 
Java :: instance block 
Java :: java regex check if group exists 
Java :: java scan next into array 
Java :: set default messaging app android manifest 
Java :: start with < and end with < in Java 
Java :: how to wirte an XPlane Plugin 
Java :: n/mm2 
Java :: spring down load 
Java :: free pearson uk textbooks 
Java :: mostrar divisores java 
Java :: The Unit Circle Codehs 
Java :: print java object inherited classes 
Java :: Volkswagen fox 
Java :: <selector xmlns:android="http://schemas.android.com/apk/res/android<item android;drawable="@drawable/bluebtn" android: state_enabled="false"/ 
Java :: Maven test failure sure fire solved 
Java :: sealed class in kotlin example 
Java :: boxing and unboxing in java pdf 
Java :: gggghfh 
Java :: how to use set ForceDarkAllowed(false); in android studio 
Java :: speak function in java 
Java :: editable column 
Java :: max head java 
Java :: ring check if the operating system is Android or not 
Java :: near "@gmail": syntax error 
Java :: string tmp java 
Java :: connectionpool in jdbc 
Java :: java 8 list of objects get only first occurance 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =