Create AlertDialog with Custom Layout using XML Layout

Android
As application grows or while building an application for larger group, sometimes it is necessary to use a custom layout in the AlertDialog. The situation can be visualized by having a login dialog, where user would be asked for their login credentials. While creating custom layout for AlertDialog, we have two options, if the custom UI is simple enough to display one or two components then this could be done programmatically, else we need to create an XML layout and include that into the AlertDialog. This post is third in series of tutorials for creating and displaying AlertDialog. (more…)
Read More

Math App – Android Application

Android
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

Create Activity – Android

Android
Once you completed the installation of eclipse, integrated it with required plugins and have your AVD or physical device ready for development then you can start developing your application. Here, we are going to create an activity for our first application. You can find the source code at the end of this post. (more…)
Read More