Html with ArrayAdapter<CharSequence>

by MewT » Sat, 27 Feb 2010 07:43:47 GMT

Sponsored Links
 Hi !
I've a problem with Android 1.5 and all the previous versions.

Simply, I have a ListView with an ArrayAdapter<CharSequence> but when
I instantiate a CharSequence with Html.fromHtml (for example "<b>Hi!
How are you?</b>") and i put this CharSequence into the ArrayAdapter
with the method add(), if the version of Android if lower than 1.6,
the ListView is colorless. I don't see the colors, underline ... But
with Android 1.6, I don't have this problem.

I've saw the changelog between 1.5 and 1.6 but nothing ... :s

Any ideas?


Other Threads

1. Bluetooth pairing with Android 2.3 and using insecure RFCOMM sockets

1. Assuming two Android phones are running Android 2.3+, bluetooth
2.1, and are listening/connecting using the new "insecureRfcomm"
APIs...will a pairing authentication dialog prompt pop up? In other
words, can a bluetooth connection be made on two mobile devices with
these insecure rfcomm sockets without user intervention?

2. I know there is a bluetooth chat example available, but if the
above is true...are there any newer examples using these APIs?



2. How to install an app on android phone by using eclipse

hello everyone,
i am MOHIT .. i am new to this group...
can anyone pls help me,how to run my app on an android phone,i have
optimus 1..
when i run manually it shows only Android AVD's that i have created...
pls help me...


3. Programatically unchecking items in a dialog

4. Regarding Video Audio Problem...

5. OPEN SSL API to load the BKS file

6. Problem deploying app to orange sand francisco on windows7

7. problem creating sqllite dabase