Any program that uses a graphical user interface, such as a Java application written for Windows is event driven. Events are supported by a number of packages, including java.util, java.awt and java.awt.event. Most events to which your program will respond are generated when the user interacts whit a GUI basedRead More →

Transition instead of simple Animation in Android There is no need for animation effects on views in Android, no need for fast hardware for smooth transitions with these Transition features between activities giving your application stylish entrance. We need two separate Activities and their layout, let say StartActivity and EndActivity.Read More →

Two button click example In this example we are going to do some stuff with two buttons. The trick is clicking them both simultaneously, holding them, and after some time some action to happen. So the scenario goes: Hold the buttons for 1 second and after that make some ToastRead More →

Dialog`s for Android: Chapter two – Simple Dialog Here we have an example of Dialog in Android, much similar to previous example for Alert Dialog explained in my previous post, but more customizable. In this tutorial we are going to create one very simple dialog box with only title, andRead More →