I received RTF format text from API (WPF,C#). I want to convert it to plain text and display in Textview. I tried all the possible ways but didn't the success.
rtf text : 0x7B5C727466315C616E73695C616E7369637067313235325C64656666305C6465666C616E67313033337B5C666F6E7474626C7B5C66305C666E696C5C666368617273657430204D6963726F736F66742053616E732053657269663B7D7D5C766965776B696E64345C7563315C706172645C66305C667331382068656C6C6F5C70617220207D
in API side we are able to convert it to below code. but I want to convert it to android side
ASCIIEncoding ascii = new ASCIIEncoding();
Archonix.Controls.RichTextBox rtbnote;
byte[] note;
rtbnote = new Controls.RichTextBox();
note = (dr["AlertNote"]) as byte[];
rtbnote.Rtf = ascii.GetString(note);
string tempRtfText = rtbnote.Rtf;
string tempRegularText = rtbnote.Text;
objAlertList.AlertNote = tempRegularText;