This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Ajax and post messages  RSS feed

 
Ranch Hand
Posts: 42
Java Linux Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Is your question an ajax question to update your page/html in a webview. Then that is just straight HTMl/JavaScript and the fact that the html is displayed in Android has no affect on how to do Ajax at all.

Also the topic title confused me. You aren't trying to compare Android to Ajax. And it wouldn't be comparable.

Mark
 
Alexandru Gifei
Ranch Hand
Posts: 42
Java Linux Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question is not about android, its about ajax and html/javascript. I dont want to display data in android, i get data from android and send it to web page.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!