Today we are going to talk about Threads in Android. I assume we all know what Threads are, what they do and where we can use them. Also I assume we know the basic Android applications, what Activities are and how we’re usually dealing with them. If not, take a little time to get used to them on the official development site.
Do you want your Activity to run in fullscreen mode? Any of these two snippets will do the trick
Today we continue our little journey into Version Control and TortoiseSVN. We’ll talk about its practical uses and start branching and tagging. If you need a quick refresh, take a look at this Version Control guide. The terms that should interest us most are: Working Set/Working Copy, Trunk/Main, Revision, Check out, Check in/Commit, Branch, Tagging and Merge.
When working on small projects, many programmers neglect Version Control systems, maybe because the programming looks simple and requests from clients seem easy to implement, or maybe just because the effort of maintaining some complex repository seems greater than the benefits. They often end up regretting the fact that they didn’t use a system to order and recover project code or files.
Have you tried to add a Custom Dialog to your application? You followed the instructions from the official page and got an error about Window token null (android.view.WindowManager$BadTokenException)?
I’ve started learning and programming for Android a few months ago and as such I’ve often found myself spending a lot of time looking for some obscure solution for the various problems I’ve encountered. Sometimes I’ve caused them myself (all programmers make mistakes), other times I just didn’t know how to do some things, other times the documentation was wrong or scarce.