Posts By: gagan93

Activity is the base class of an Android Activity (package android.app). An Activity represents a view to the user. For eg. When we open Messaging app to write a new message, it is an Activity. After writing the message, when we open contacts to select the person, it can be considered as another activity and so on. So… Read Article →

In past, some of you have used clever utilities like Kon Boot Utility to reset your window password, or asked your engineer to format C:/ drive if there was no way out. This article will introduce various ways to reset password in Windows xp,vista, 7,8 & 8.1. Please note that this knowledge is shared for educational… Read Article →

Beginning Java Programming Some institutes/tutorials start java directly using Netbeans or Eclipse IDE. But this is not the correct way. A better method is to use a basic text editor like Notepad2 or Notepad++ to begin Java. IDE’s provide shortcuts which experienced programmers use. If beginners opt for these methods, they will leave half of… Read Article →

C to C++ and C++ to Java: C was a powerful programming language but used structural approach. So when the length of code exceeded a particular no. of lines, the code became unmanageable. So this led to Object Oriented Programming techniques and birth of C++. But C++ compilers at that time were not platform independent…. Read Article →

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 →

Hello Geeks, hope you have gone through this post and have a good understanding of Android projects before proceeding further. To test / debug our Android Application, we can use any of available methods : 1. We can use the Android Virtual Device (we’ll create one shortly) to execute this application. 2. We can directly… Read Article →

Scroll To Top