Called when the activity is first created. super.onCreate(savedInstanceState); TextView tv = new TextView(this); tv.setText("Hello, Unresponsive Android"); setContentView(tv);
super.onCreate(savedInstanceState); TextView tv = new TextView(this); tv.setText("Hello, Unresponsive Android"); setContentView(tv);
// Attempt to provoke the ire of the ActivityManager while (true) { try { Thread.sleep(1000); } catch (InterruptedException e) { // ignore } }