aspose file tools*
The moose likes Android and the fly likes Android - center justified email body from Intent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android - center justified email body from Intent" Watch "Android - center justified email body from Intent" New topic
Author

Android - center justified email body from Intent

Steve Myers
Ranch Hand

Joined: Dec 08, 2012
Posts: 47
crosspost @ stackoverflow


I am attempting to email the results of the app with an intent. I am using a StringBuffer and appending a few lines of text with "\n" within each line and then invoking toString() on it and storing it in the 'result' variable.

The problem I am having is the text is automatically center justified in the email message body. What can I do to change this and make it left justified?

Here is the code for passing the intent:


 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Android - center justified email body from Intent