Click here to Skip to main content
15,868,162 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
try {

       Thread.sleep(3000);

    } catch (InterruptedException e) {

               // TODO Auto-generated catch block

               e.printStackTrace();
    }


What I have tried:

Thread.sleep(10000);
If i increase the sleep time application crash in android and the mobile do not process more further
android application auto stop
Posted
Updated 27-Jul-22 0:58am
Comments
Richard MacCutchan 27-Jul-22 7:04am    
No one here can possibly guess what your problem is from so little information. Please use the Improve question link above, and add complete details of what is not working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900