• ListView/GridView with timer in Android.

    Here is a simple example implementing ListView with timer in each row. Model Class for row We have a simple model class for each row in the ListView. Item.java Layout for the Listview row Now we have the cell.xml which […]

     
  • Navigation Drawer Example in Android.

    Navigation Drawer The navigation drawer is a panel that transitions in from the left edge of the screen and displays the app’s main navigation options. Displaying the navigation drawer Creating a Navigation Drawer The user can bring the navigation drawer […]

     
  • Wave Scale Animation in GridViews in Android

    Hello all Previously I have shown many posts where we animate each row of the GridView randomly, linearly etc. GridView RandomFade animation in Android and Cascade animation in a ListView in Android. In today’s post I will show you how […]

     
  • How to create a beautiful wheel animation in android?

    Today’s post is about animation, a beautiful animation, exploring capabilities of android. You can click on the link to download the code. Here we will have three java classes and no XML files. 1. GraphicsActivity.java 2. PictureLayout.java 3. Sweep.java At […]

     
  • How to use ImageSwitcher in Android?

    You can read more about ImageSwitcher here http://developer.android.com/reference/android/widget/ImageSwitcher.html Click on the link below to download the code. This is the layout that contains the ImageSwitcher What we will do is we will load some images into the Gallery and then […]

     
  • ListView Bottom to Top Animation in Android.

    Like my previous posts animation chapter is again continued. This time the animation in on a ListView from Bottom to Top. You have already seen animations from Top to Bottom in my previous posts. See some of my posts here. […]

     
  • Creating a Drawable animation in Android.

    This is a simple example of how to animate a drawable in Android. This example is from the official android demo applications. Here we have 5 java classes. AnimateDrawable.java AnimateDrawables.java GraphicsActivity.java PictureLayout.java ProxyDrawable.java AnimateDrawable.java AnimateDrawables.java GraphicsActivity.java PictureLayout.java ProxyDrawable.java Download the […]

     
  • GridView RandomFade animation in Android

    In some of my older posts I have already showed a lot of animations on ListView and GridViews. Search coderzheaven for ListView and GridView animations if you want to see the articles and posts. This is also yet another post […]

     
  • Cascade animation in a ListView in Android.

    Here is a simple example for cascade animation of a listview in android. We use these classes for achieving this. 1. AnimationSet Represents a group of Animations that should be played together. The transformation of each individual animation are composed […]

     
  • Custom Spinner in Android Redone using BaseAdapter..

    I have already shown another example of creating custom spinner in android in this post. That was by extending the ArrayAdapter class, Now it’s using the baseAdapter class. You all knew that a spinner or combobox is an inbuilt widget […]

     
  • 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 […]

     
  • How to create a Slide from Left animation while deleting a row from a ListView in Android?

    Hello all…… I have written a lost of posts on Listviews. You can see that by just searching Listviews in my site. Today I will show you how to create a slide out animation while we delete a row from […]

     
  • ListView with Sections in android.

    Hello all………. We have seen many posts about ListViews like creating a listview, adding data to it, customizing a listview etc. Take a look at some of these examples 1. Single Selection ListView in android 2. Flitering a ListView using […]

     
  • CustomAlert without any custom Layout in android.

    We can create a dialog with custom alert dialog with our xml in android. But for making simple alerts we can make custom alerts through code itself. Here is a simple function for this. Here I am having a Listview […]

     
  • Single Selection ListView in android

    Hello all….. In today’s post I will show you how to create a single selection list in android. Here is the main.xml Now this line in the java file creates the single choice. setListAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_single_choice, android.R.id.text1, names)); Now this […]

     
  • How to create a custom ListView in android?

    Hello all….. In today’s tutorial I will show you how to create a custom listview in android. For that we need 3java files. One holding the ListView itself another a Model object that holds the data for the listview and […]

     
  • Customizing a spinner in android.

    Hello everyone……… You all knew that a spinner or combobox is an inbuilt widget in android. And Like any other widgets spinners are also customizable. Here is a simple example to customize a spinner. First we will look at the […]

     
  • Customizing a spinner in android.

    Hello everyone……… You all knew that a spinner or combobox is an inbuilt widget in android. And Like any other widgets spinners are also customizable. Here is a simple example to customize a spinner. First we will look at the […]

     
  • Customizing a spinner in android.

    Hello everyone……… You all knew that a spinner or combobox is an inbuilt widget in android. And Like any other widgets spinners are also customizable. Here is a simple example to customize a spinner. First we will look at the […]

     
  • Customizing a spinner in android.

    Hello everyone……… You all knew that a spinner or combobox is an inbuilt widget in android. And Like any other widgets spinners are also customizable. Here is a simple example to customize a spinner. First we will look at the […]

     
  • Customizing a spinner in android.

    Hello everyone……… You all knew that a spinner or combobox is an inbuilt widget in android. And Like any other widgets spinners are also customizable. Here is a simple example to customize a spinner. First we will look at the […]

     
  • 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 […]

     
  • 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 […]

     
  • Expandable ListView in ANDROID using SimpleExpandableListAdapter, a simple example.

    Hi all…… Here is a simple example of expandandable ListView in ANDROID. But I am not going to explain any code, because everything is explained inside the java file. Make sure to read it. The main.xml file. The child_row.xml The […]

     
  • 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 […]

     
 

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.