1

Start a thread when Activity Starts

view story
linux-howto

http://stackoverflow.com – I have the following code below public class StartGameActivity extends BaseActivity { public TextView txtCustomerCount; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.start_game); this.txtCustomerCount = (TextView) findViewById(R.id.txtCustomerCount); testThread(); } public void testThread(){ Runnable runnable = new Runnable() { @Override public void run() { int count = 0; boolean stop (HowTos)