Hello geeks, (J4A) Java for Android is a series of tutorials for those who have good knowledge of C++ and want to switch to android without going into details of Core Java. So here we’ll discuss ONLY THOSE features of JAVA (keywords, classes, concepts) which are used in android also. Some may think that these tutorials… Read Article →

Welcome back geeks, so after pasting this code , you would be having the MainActivity.java file like this :   In this screenshot, notice the highlighted part on the left. The Eclipse IDE is showing some errors at some specific lines (line no. 9 10,17,18 and so on). Now we’ll use Quick Fix feature of… Read Article →

Welcome back geeks, this tutorial is a continuation of previous tutorial. So please read the previous one if you have not read it. So we had created a simple layout and it looked something like this : Double click on the button to change the text of the button, now the window will switch to XML… Read Article →

Hey Geeks ! Hope you all have gone through previous tutorials and are clear with the basics of android. Here we’ll create our second simple android application which will consist of creating our own layout and a bit of java coding. As discussed previously, the layout of our android application is written in XML file,… Read Article →

Since the day I started to read about the virtualization concept, I have been troubled by QEMU and KVM. They both look like complementary, but what exactly they do? And then there is libvirt, what role does it play? Let’s try to understand that.   When you dive deep into the virtualization, you find hypervisor…. Read Article →

Autoboxing is the mechanism in Java to convert primitive type values to respective wrapper class object. Java programmer mostly use autoboxing while using collections, since collection only holds object and to put primitive type data into collection, it’s need to use wrapper classes to convert into objects. So , here is autoboxing to assign primitive… Read Article →

In a thread lifecycle it can  have one of the  following states mentioned below. I have already explained Thread Life Cycle and basics of thread including Daemon Threads.Now let see inside the thread states and how to achieve them . NEW : A thread has not started yet. RUNNABLE : Thread is running state but it can be… Read Article →

Linux was developed as a multi-user system. One big problem with multi-user systems is securing information of a particular user from other users. To do that, a concept of permissions was introduced. When you create a file, you have the right to read and write it. In this article we are going to understand how… Read Article →

Threads.  Thread is also known as lightweight process. Java multithreading allows to process multiple task simultaneously with less overhead than process. Mostly use to monitor session, background synchronization etc. Content Process vs Thread Creating first thread program Implementing Runnable vs extending Thread Thread State and Life cycle Daemon Thread Processes : These are often application or programs running… Read Article →

Scroll To Top