File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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:


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Android - center justified email body from Intent