Networking and View Question (Seeking for a help)

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Networking and View Question (Seeking for a help)

Postby publicster » Fri Apr 16, 2010 9:32 am

I have a PC server sending data to Android client every 3 minutes. How can I update the view of Android phone? Is the function "invalidate()" only way I can update the view?
publicster
Freshman
Freshman
 
Posts: 4
Joined: Fri Apr 16, 2010 9:23 am

Top

Postby mitutitu » Fri Apr 16, 2010 12:59 pm

Hi publicster,

you can use handler to update your UI after getting some new data from server. But I'm not so clear exactly how you wanna do that and also I'm not aware of your design structure. If you can explain your task a bit more.

Thanks,
mitu
Android is awesome!
User avatar
mitutitu
Senior Developer
Senior Developer
 
Posts: 113
Joined: Tue Jun 09, 2009 7:40 am
Location: St. John's, NL, Canada

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 6 guests