Hello. I am developing an android application which should do the following: send post messages to a web server, and these received values/strings should appear on web page modified in real time. I know that i have to use Ajax.
The android part is not so important in my oppinion, but here it is (Its a class i use to send messages)
My application atm cand send post messages to web server, and i can display them on web site, but i need to refresh the page. So, the content of the textarea should refresh every time when $androidmessages is modified by a received post message. What should i do ?
Life is not measured by the number of breaths we take, but by the moments that take our breath away.
I don't understand your question. What is your question? Is it an Android question, updating some android UI element, or updating html based on an Android UI element. I think in that case that would be an Android question.
Also the topic title confused me. You aren't trying to compare Android to Ajax. And it wouldn't be comparable.