[android-developers] applying style to textview

2010-01-10 Thread tlegras
Hi, I am trying to apply common style to different textview that can be either defined in a layout xml file or programmatically and that does not seem to work for some attributes: My style in styles.xml is: style name=ListName item name=android:colorForeground#f0f/item item

[android-developers] Re: SAXParser invalid token exception because of '' inside attribute value

2010-01-06 Thread tlegras
, tlegras tleg...@gmail.com wrote: Happy new years :) I am using SAXParser to parse an html page (any better solution?) and have this exception:            W/System.err( 1358): org.apache.harmony.xml.ExpatParser $ParseException: At line 1, column 59: not well-formed (invalid token) I have

[android-developers] Re: How to parse html with saxparser (or other solution)

2010-01-04 Thread tlegras
Now nekohtml is working very fine for me so i probably won't change :) But thank you for the link, it is a goldmine :) I found the documentation miss such snippets. On 2 jan, 23:03, jwei512 jwei...@gmail.com wrote: Another one you could try is HTML Cleaner (http://

[android-developers] Re: How to parse html with saxparser (or other solution)

2010-01-03 Thread tlegras
nekohtml, i will repport in their mailing list. On 2 jan, 19:36, tlegras tleg...@gmail.com wrote: ok thanks i am trying nekohtml and currently trying to make it run but with the minimal sample code (so using only provided xercesMinimal.jar) i got this exception in my parse() function: E

[android-developers] SAXParser invalid token exception because of '' inside attribute value

2010-01-02 Thread tlegras
Happy new years :) I am using SAXParser to parse an html page (any better solution?) and have this exception: W/System.err( 1358): org.apache.harmony.xml.ExpatParser $ParseException: At line 1, column 59: not well-formed (invalid token) I have reduced the page to this:

[android-developers] How to parse html with saxparser (or other solution)

2010-01-02 Thread tlegras
Happy new year world :) I want to parse an html page downloaded from a web server and have pretty much trouble with that. I am trying with saxparser, is there any better solution? With sax i am trying to preprocess the page to make it xml compliant (replace br with br /), but i still have some

[android-developers] Re: Posts to this Android Dev group hacked/intercepted/moved !?!

2010-01-02 Thread tlegras
lucky you, my new thread post has been completly lost. posted Fri, Jan 1, 2010 at 3:12 PM new year 2010 bug?? Thierry. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com

[android-developers] Re: How to parse html with saxparser (or other solution)

2010-01-02 Thread tlegras
: I guess you need to use a special HTML parse. Since, HTML pages are not well-formed and are not XML compliant, using an XML parser will not serve your purpose. Search for any third party libraries. Thanks and Regards, Kumar Bibek On Jan 2, 8:05 pm, tlegras tleg...@gmail.com wrote: Happy