How to Get text and smiley from edittext into String?
Using Following Code I was Add Smiley/Emojis in Edittext but how to get text/smiley from edittext into String Forma
Use Html.toHtml(Spanned text)
like:
String myString = Html.toHtml(cs);
System.out.println(myString);
edit: iam digging in the dark here but could it be you want the text(string) representation of your Smillie?
like you have:
cs = Html.fromHtml(
"", imageGetter, null);
and you want:
String cs = ":)";
is that right? if not, my previous answer gives you the technical String representation of your Html code