Create AlertDialog 2 – Android

This post is in the connection with the previous post about creating AlertDialog. In this demo application an AlertDialog is created with two buttons, i.e. OK and Cancel. There is some modifications in the MainActivity.java code of previous code. 1. AlertDialog to display information 2. To display and get confirmation from the user In order to get confirmation (yes/no situation) user should have two types of buttons, i.e. one to accept and another to reject. In this demo application those buttons are named as OK and Cancel. (more…)
Read More

Create AlertDialog – Android

Sometimes it is the requirement of the application to provide information to the user, or to get some input from the user, or to display a list of information in formatted layout. AlertDialog can be used for these and other similar purposes. For different purpose there is different process to create it. Some process is discussed here, and the rest can be derived from these as per developers requirement(s). (more…)
Read More

Getting source code from APK

Before proceeding towards explaining how to get source code from APK, we want to clarify that it is for educational purpose only. APK file contains all the compiled java source in classes.dex file along with many other supportive files. There are some tools available which can be used to get the source code similar to the original source code. (more…)
Read More

What is apk?

APK is acronym for Android's Application Package which is used for installing the applications in Android devices. It is an archive of files in specific format and folder structure. Google Play is the official store for selling and sharing the Android applications. (more…)
Read More

Math App – Android Application

Let us create an application to perform mathematical operations using android application. For this purpose we have to do following task: Create GUI components with TextView, EditText, and Button, and Write JAVA code for performing mathematical tasks. In this application we will have functionality for addition, subtraction, division, multiplication, and modulus. To program these functionality XML parsing and Event Handling are used. A little knowledge of JAVA or any OOP language may prove helpful. (more…)
Read More