Take the 2-minute tour ×

I am new to Android development.

I am trying to copy the text from the email body into the clipboard and pasting it into my application, but the clipboard does not recognize the new line character.

Any suggestions on how to copy with the newline character?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Just a guess.

If you are pasting it into an EditText, which I assume you are, you may need to set android:singleLine to false

share|improve this answer
no we are testing it in the textbox –  kanchan Dec 20 '11 at 5:40
@kanchan that is the same thing –  MrZander Dec 20 '11 at 5:55

Your Answer


