android - TextView is cutting off a lot of information when I try to pull text from a website -


In my app, I need to draw text from this website.

Note that this is a lot The big file is that when I try to draw the text, it does not find the first half of the text. Is there a limit to the number of characters in the textview? If so, how can I go around this problem?

  TextView = (TextView) SearchVBIID (R.T.Wevelop);  

Faq.setText ((Html.fromHTML (cleanhtml (getText ("http://www.cellphonesolutions.net/help-en-lite));

It clears comments that HTML.fromHtml does not filter

  public string cleanhat (string origin) {string final text = original.rele all ("& lt;! [^ & Gt;   

In this way I get the text from the website

  public string get text (string) Uri) {HttpClient client1 = New DefaultHttpClient (); HttpGet Request = New HTTPGet (Yuri); Response Handler & lt; string & gt; ReactionHandler = New BASICRATIONSHandler (); Try {String Response_Strict = Client 1. Excut (Request, Response Handler); Return Response_ST;} Grip (Exception E) {// TODO Auto-Generated Catch Block e .printStackTrace (); Return "";}}   

This is my XML

     

ScrollView < Previous> & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Android: layout_width = "fill_parent" Android: layout_height = "Fill_parent" & gt; Android: layout_width = "wrap_content" Android: textColor = "# 000000" & lt; TextView Android: Layout_Gravity = "Center" Android: Text = "TextView" Android: Gravity = "Center" Android: AD = "@ + ID / TVFac" Android: Android: layout_height = "wrap_content" & gt; & Lt; / TextView & gt; & Lt; / LinearLayout & gt;

Textview has an exact scroller that you will do with scrollview.

UPDATE

You need to see the faq.setMovementMethod (new scrollingwallmov ()) on your text;

If this does not work then try debugging your app and see if all the characters in response_str are the website

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -