• Event Handling using DataBinding in Android.

    Using data binding, you can also handle events right from the layout xml using either Method references, or Listener bindings. For this we can create a seperate Class named “MyHandler”. Event Handler Class MyHandler.java Like my previous examples you have […]

     
  • Custom SeekBar in Android With Labels in Bottom.

    In this article I will be making a SeekBar as shown in the below screenshot. CustomSeekBar Class We will create a custom class for creating the custom Seekbar. I named it “CustomSeekBar.java” Usage Here is the layout. This is how […]

     
  • How to load a spinner with values from SQlite Database in android?

    Here is a simple example showing how to load a database values in a spinner in android. OK we will start. This is the layout for the spinner row. spinner_row.xml This is the layout for the interface. activity_main.xml Now this […]

     
  • Creating a custom Sliding GalleryView with Paging in android

    This is a simple example showing A sliding Gallery in android. This example shows a sliding gallery with a paging Control and a changing page text which also indicate the page change. Create a new project named “SlidingGallery” and copy […]

     
  • How to create a Custom Toggle Button in android?

    Hello everyone… In today’s tutorial I will show you how to create a custom toggle button in android. Often in our applications we don’t need a default toggle button, so I will show you how to change that to make […]

     
  • Using Tabbars in ANDROID, A Simple Example……….

    This is a simple example showing how to use tabbars in ANDROID. First create a new project and copy this code to it. Now create three another java files by right clicking the src folder and name it FirstTab.java, SecondTab.java, […]

     
  • Image transition animation in Android

    Hello all… I have shown a lot of examples of animations in android. Today I will show you how to show an image transition animation between two images. For that you have to create an xml named “expand_collapse.xml” inside the […]

     
  • How to remove a view in your xml layout file using program?

    Hello everyone, this is a simple example showing how to remove a view in android that is created using your xml file. This is the xml file that contains a TextView Here is the java code for removing this view […]

     
  • ANDROID Tabbars Example……..

    This is a simple example showing how to use tabbars in ANDROID. First create a new project and copy this code to it. Now create three another java files by right clicking the src folder and name it FirstTab.java, SecondTab.java, […]

     
  • Using Tabbars in ANDROID, A Simple illustration……….

    This is a simple example showing how to use tabbars in ANDROID. First create a new project and copy this code to it. Now create three another java files by right clicking the src folder and name it FirstTab.java, SecondTab.java, […]

     
  • Using Tabbars in ANDROID, A Simple Example……….

    This is a simple example showing how to use tabbars in ANDROID. First create a new project and copy this code to it. Now create three another java files by right clicking the src folder and name it FirstTab.java, SecondTab.java, […]

     
  • Listening incoming sms message in Android

    When a new sms message is received by the device, a Broadcast Receiver is registered. For this IntentFilter filter = new IntentFilter(SMS_RECEIVED); registerReceiver(receiver_SMS, filter); should be included . Also sms are sent in PDU’s(Protocol Description Units) format, which act as […]

     
  • Customizing your button or TextView or another view in ANDROID.

    Beautifying our applications is one of the main features of your application’s success. In ANDROID there are many possible ways to do this. For eg. We need to have different colors for our buttons, However we can give backgrounds for […]

     
  • How to create and delete a directory in SdCard in ANDROID?

    Hi all…… This is a simple example to create and delete a directory in ANDROID. Here the directly is created in the SDCARD. So first create an SDCARD and start the emulator with the SDCARD. Let’s look at the program. […]

     
  • Android frame Animation

    A series of frames is drawn one after the other at regular intervals. For this create a xml which contains ImageView for showing the animation The main java file is Next the main part, an xml which holds each image […]

     
  • Android dialog with ListView

    For implementing a ListView, we first create a xml which contains a ListView named list.xml Next we create a Dialog Object and inflate the above xml and when the listItem is clicked then a Alert Dialog windows comes The java […]

     
  • SQLiteManager plugin for eclipse

    When you are working on an Android application that stores data in a SQLite database.There arise many questions like where does this database file get stored on the filesystem ? How can we access the database? I will give solution […]

     
  • How to use SQLite in ANDROID, A really simple example.

    Hello ANDROID Lovers…….. In today’s tutorial I will show you how to deal with SQLite Databases in ANDROID. You know that SQLite are Lightweight databases which is maintained only on the client side. They don’t need a server. The SQLite […]

     
  • How to get information about all the applications installed in your ANDROID Emulator or Phone? / How to use getPackageManager() in ANDROID ?

    Hi all, In this tutorial I will show you how to get the information about all the applications installed in your ANDROID phone. What you have to do is create a ANDROID project inside the package pack.GetAllInstalledApplications amd name the […]

     
  • Using Gestures in ANDROID,A Simple example.

    This is a really simple example illustrating gestures in ANDROID. You Know that everything you do with your hand inside the phone is a gesture like SingleTap, doubleTap etc. Here is a quick illustration of this. For this the activity […]

     
  • Android TableLayout

    In android there are different layouts and we often confuse about which one to use. Even if we select one, it is little complicated. So this tutorials is to show you about the TableLayout Here i first created linear Layout […]

     
  • Working with SQLite Database in ANDROID.

    Below is a straight forward example of how to deal with SQLite database in ANDROID. Go ahead and copy and paste the following code to your java file. The example has one database and performs functions like insert delete and […]

     
  • Custom Toasts in ANDROID.

    First, just show an image inside a toast: This method just displays a text toast: And this method displays a Toast that contains both an image and text:

     
 

Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.