Strange
Strange

Reputation: 69

if edittext has an image how to get all from edittext?

In my app i show some html code in edit text using fromhtml() method. Now I need to get all from edit text. How to do that? Now i am using gettext() method. But it will get only the text not an image. Please help me. Thanks advance.

Upvotes: 1

Views: 174

Answers (1)

KOTIOS
KOTIOS

Reputation: 11194

Cool try this : if u r using some html style in text this code will work :

String htmlString=Html.toHtml(edittext.getText());

Upvotes: 1

Related Questions