Hello I am writing my first app and I want to make a click after a few seconds. I tried to use both the handler and the thread but it just does not seem to work.
Computer compute () {delay = new thread () {Public runs zero () { Try {thread.leep (250); OnePlayerActivity.this.runOnUiThread (new Runnabal) (run publicly with zero) (if (another amp; AIISNet ()) (if (amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; Isenated ()) {Six. ClickClickClick ();} and if (Duffitt and Dosix and Four. Eentensed ()) {four.performClick ();} and if (duffer & amp; amp; two; and & amp; Five (.)) {Five.performClick ();} // Method is a bit late ...}}); } Hold (exception e) {e.printStackTrace (); }}}; Delaying.start (); } I used the same thread on another activity and it worked out is not something different I checked three I removed the thread and ran the app and click on display as soon as I want. So obviously I have done something wrong while using the thread.
Comments
Post a Comment