Back to project page SelfossAndroidClient.
The source code is released under:
GNU General Public License
If you think the Android project SelfossAndroidClient 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 org.vester.selfoss.icons; //w w w . j a v a 2 s .c o m import java.io.File; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; public class IconLoader { public static Bitmap getBitmap(String url, String filename, Context context) { File f = new File(context.getCacheDir(), filename); // Is the bitmap in our cache? Bitmap bitmap = BitmapFactory.decodeFile(f.getPath()); return bitmap; } }