Direct Sharing via SMS/Email

Email

Create a JREmailObject and populate the fields of the object:

String emailSubject = "Check out this article from the Janrain Blog!";
String emailBody =
   "I found this article on Janrain's blog, and I thought you might be interested!n";
emailBody +=
   "http://www.janrain.com/blogs/janrain-engage-social-login-and-sharing-your-android-apps";

JREmailObject email = new JREmailObject(emailSubject, emailBody);

Add the object to the your JRActivityObject and pass it to the library:

JRActivityObject activity =
   new JRActivityObject("shared an article from the Janrain Blog.",
   "http://www.janrain.com/blogs/janrain-engage-social-login-and-sharing-your-android-apps");

activity.setEmail(email);
engage.showSocialPublishingDialog(activity);

SMS

Create a JRSmsObject and populate the fields of the object:

String smsBody = "Check out this article from the Janrain Blog!n";
smsBody +=
   "http://www.janrain.com/blogs/janrain-engage-social-login-and-sharing-your-android-apps";

JRSmsObject sms = new JRSmsObject(smsBody);

Add the object to the your JRActivityObject and pass it to the library:

JRActivityObject activity = new JRActivityObject("shared an article from the Janrain Blog.",
   "http://www.janrain.com/blogs/janrain-engage-social-login-and-sharing-your-android-apps");

activity.setSms(sms);
engage.showSocialPublishingDialog(activity);