Tag Archives: setImageResource

Volley Demo in Android

By | April 10, 2016

Volley is an HTTP library that makes networking for Android apps easier and most importantly, faster. Volley is available through the open AOSP repository. Volley offers the following benefits: Automatic scheduling of network requests. Multiple concurrent network connections. Transparent disk and memory response caching with standard HTTP cache coherence. Support for request prioritization. Cancellation request… Read More »

Wave Scale Animation in GridViews in Android

By | May 28, 2013

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 to create a wave scale animation in the ListViews. Please refer to my old posts… Read More »

How to create a beautiful wheel animation in android?

By | May 18, 2013

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 first we start with PictureLayout.java Now our second java file, GraphicsActivity.java No need to declare… Read More »

How to use ImageSwitcher in Android?

By | May 12, 2013

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 load each image into the ImageSwitcher on clicking on each item in the Gallery. Here… Read More »

ListView Bottom to Top Animation in Android.

By | May 10, 2013

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. All animation posts from CoderzHeaven is here Click on the download link at the bottom… Read More »

Creating a Drawable animation in Android.

By | May 3, 2013

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 complete source code from here Join the Forum discussion on this post

GridView RandomFade animation in Android

By | May 1, 2013

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 on animation. Here what I will do is create an animation in a GridView such… Read More »

Different types of Animation – Push Up in, Push Up Out, Push Left in, Push Left Out, HyperSpace In, HyperSpace Out in a ViewFlipper in Android.

By | April 22, 2013

Hello all…. This is going to be a big post.. Check out my previous post for a rotate3D animation between a ListView and an Image. How to create a rotate 3D Animation between a ListView and an ImageView in Android? Today I will show you different types of Animations using ViewFlipper in a textView. Here… Read More »

CoverFlow in Android – Complete implementation with source code.

By | December 17, 2012

Have you seen the coverflow in iPhone. This is the Android implementation of CoverFlow. Please leave your comments if this article is helpful for you. Let’s see how. This is the CoverFlow class that extends the Gallery. Now the main activity that implements the coverflow. OK Done. Now go on and Run your project. Download… Read More »

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

By | November 18, 2012

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 is the MainActivity.java file that uses the spinner and the database. Join the Forum discussion… Read More »

Custom GridView in android. A simple example.

By | February 29, 2012

Hello all……….. Android has been absoultely wonderful for customizing widgets. I have shown a lot of example to customize ListViews, spinners etc. Today I will show you how to customize gridviews. Using this method you can actually place anything inside a gridview even a webview also. So here we start. We customize a gridview by… Read More »