Click here to Skip to main content
15,908,907 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm a newbie here. I'm asking is like the above How can I make a real time changing/alternate of color of font of an item from the server XML format in seconds?

I try to solve but I always failed, my application have a DOM parser that fetch item from server and a timer to update every 5 seconds. my problem is the color how can I fetch also the color depends if it is uppercase or lowercase.

like this example

Mae Account = 2000 (uppercase color green)

Almira Account = 1000 (lowercase color red)

can be also alternate

Mae Account = 2000 (lowercase color red)

Almira Account = 3000 (uppercase color green)

or like

Mae Account = +2000 (uppercase color green)

Almira Account = -1000 (lowercase color red)

Mae Account = -1000 (lowercase color red)

Almira = +2000 (uppercase color green)

the item from the server like 1000 ,2000 is update every seconds.

I try custom list adapter but I'm failed because I didn't know how to execute it in the DOM PARSER and timer I'm using listadapter and simpleadapter.

please help me in my problem

thank you very much.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900