Implementing a while loop in android
问题 I can't understand the implementation of a while loop in android. Whenever I implement a while loop inside the onCreate() bundle, (code shown below) public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); TextView=(TextView)findViewById(R.id.TextView); while (testByte == 0) updateAuto(); } nothing boots up, and the program enters a "hanging" state after a while and I can't understand why. Testbyte is as follows: byte testByte == 0; and updateAuto() is