life

How to sleep if brain don't shut down

To all coders and creative ppl out there, what to do when you go to bed and the brain starts to boil ideas non stop and don't shut down? This is always happening to me and makes my days very hard, because then I get very tierd to work or do anything at all. I don't do drugs or stimulants, it's just ideas and a real stack overflow! It's ...

Android proper use of setId()?

I have a series of activities that share a database. In the primary activity the user will be doing things will the program automatically logs data into the db. This continues until the user would like to view the database by starting the view database activity. How I have it set up is that onPause will close the database so the the DBVi...