need help in how to design a net work card reading game
<p>I am trying to port a card reading game from iPhone to android.
There is a server that sends 4 states to ui,
Waiting for more players
Shuffle board
Turn card over
Display Your card
Display players card</p>

<p>I was planning on having a back ground thread that would pull the server every second for a update.</p>

<p>At first I was going to have the thread display a different activity for each state, but.....
How could I switch activities from a thread? I was all so thinking about having one activity and dynamically change the display depending on the state, but this seems to complicated.</p>

<p>Does anybody have any ideas on how to do this?</p>
