Back to project page AndroIUT.
The source code is released under:
GNU General Public License
If you think the Android project AndroIUT listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.iutdijon.androiut2.util.adapters; /*from w ww .ja va2 s. co m*/ import java.io.IOException; import java.io.InputStream; import android.graphics.Bitmap; import android.graphics.BitmapFactory; /** * Cr?er un Adapter permettant de convertir des donn?es brutes en Bitmap * @author Morgan Funtowicz * */ public class BitmapAdapter implements IAdapter<InputStream, Bitmap> { public BitmapAdapter() { } @Override public Bitmap parse(InputStream url) throws IOException { return BitmapFactory.decodeStream(url); } }