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. Cannot stop soundpool loop even after exiting app

I have a timer thread setup to play a loop using soundpool, but for
some reason  I cannot get  _soundPool.stop(_playbackTimer); to stop
the loop. even if I exit the application the loop keeps running. I
have to physically power off the phone to get it to stop. am I missing
something here? Does anyone have any experience with this? I have
searched with no resolution. below is a snippet.

if(timeLeft>0 && timeLeft<20 && ticking == false){
      , 0.3f, 0.3f, 0, -1, 1);

        if(timeLeft==0 || timeLeft>20){


2. Kernel sockets


I've written a kernel module that logs all socket connection attempts. That is done with the help of LSM hooks. What I can see now is that the kernel is connecting to some 100. and 101. ip addresses many times: ... socket_connect: -> socket_connect: -> ... What is the source ip All other user initiated connections (e.g. browser) have the ip address Some times with zero or non-zero port. And where do these 100./101. addresses end? I assume that this are in-kernel sockets used for IPC but I'm not sure. A user initiated connection looks as follows: ... socket_connect: -> //DNS socket_connect:> // Src-Port and Dst-Port are 0? ... Thanks Yves

Description: S/MIME Cryptographic Signature

3. OOT: Paging pak Dolly

4. mau tanya ttg Cyanogen Mod

5. getting control value from within a dialog

6. Using ListView in AlertDialog

7. When is the appropriate time to use separate processes?