The previous example describe how to " Load Bitmap from internet in background thread using AsyncTask " to load ONE image only. If...
Android Wireless Application Development Volume I (Android Essentials) and Volume II (Advanced Topics), 3rd Edition.
Android Wireless Application Development has earned a reputation as the most useful real-world guide to building robust, commercial-grade...
Load Bitmap from internet in background thread using AsyncTask
This exercise show how to load bitmap from internet. To load bitmap from internet, we can call the method: BitmapFactory.decodeStream(networ...
Convert a Drawable to bitmap
It's a example to convert a local drawable to bitmap, then display on ImageView. package com.example.androidcolor; import android.os.Bun...
Convert ImageView to black and white image using ColorFilter
The exercise " Example to apply ColorFilter on ImageView " demonstrate the basic operation of ColorFilter. By apply a suitable Col...
Are You Smart Enough to Work at Google?
Are You Smart Enough to Work at Google?: Fiendish and Impossible Interview Questions from the World's Top Companies You are shrunk to t...
Life cycle of Fragments in ViewPager
In the exercise " Communication between Fragments in ViewPager " demonstrate how to pass data from Fragment A to Fragment B in a V...
PorterDuffColorFilter demonstration
It's a exercise to demonstrate the effects of various PorterDuff.Mode . You can try it interactively. package com.example.androidcolorfi...
Learning Android Application Programming for the Kindle Fire: A Hands-On Guide to Building Your First Android Application
Master Android™ App Development for Amazon’s Bestselling Kindle Fire™—Hands-On, Step-by-Step! In this book, bestselling Android programmin...
Adjust lightness and darkness of ImageView, using LightingColorFilter.
Using LightingColorFilter , we can adjust lightness and darkness of ImageView by adjusting the passed parameter mul and add. package com.exa...
Swap color using ColorFilter
Last exercise demonstrate " how to apply ColorFilter on ImageView ". Using ColorFilter, we can also change color components. packa...
Example to apply ColorFilter on ImageView
package com.example.androidcolorfilter; import android.os.Bundle; import android.app.Activity; import android.graphics.ColorFilter; import a...
Example of using PorterDuffColorFilter
android.graphics.PorterDuffColorFilter create a colorfilter that uses the specified color and porter-duff mode. The source color and porter...
LightingColorFilter example
android.graphics.LightingColorFilter is a colorfilter that multiplies the RGB channels by one color, and then adds a second color, pinning ...