Sunday, 14 August 2016

How To Make Alert Dialog Box In Android Studio ?



In this tutorial you will learn how to make a alert dialog box in android. here, we will open this alert dialog when a button is clicked or back button is pressed. As you see in snapshot it is asking for confirmation "Yes" or "No", So i have also added a toast when the button is clicked.

So, lets start with creating a new project : 

Step 1 : Open your activity_main.xml  and add  a button as given below in the code: 

Tuesday, 19 July 2016

Fix Hax Kernel Module Installation Error


This error occurs when the Intel HAX kernel module is not installed on your system. You can find below the brief solution for this error.

                     

You need to first install the Intel x86 Emulator Accelarator(HAXM installer) through android sdk manager.So,open the android sdk manager and install it.