Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

share intent android


Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT,
    "Hey check out my app at: https://play.google.com/store/apps/details?id=" + BuildConfig.APPLICATION_ID);
sendIntent.setType("text/plain");
startActivity(sendIntent);

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #share #intent #android
ADD COMMENT
Topic
Name
8+1 =