Install in Android App

If you want to share an activity, first create an instance of the JRActivityObject:

String activityText = "added JREngage to her Android application!";
String activityLink = "";

JRActivityObject jrActivity = new JRActivityObject(activityText, activityLink);

Populate the new object with information about the activity being shared by. Here, an Facebook action link is added:

activityObject.addActionLink(new JRActionLink("Download the Quick Share demo!", "");

Then pass the activity to the showSocialPublishingDialogWithActivity method: