Android Bitmap Load loadBitmapFromFile(String fileNameWithPath)

Here you can find the source of loadBitmapFromFile(String fileNameWithPath)

Description

load Bitmap From File

Declaration

public static Bitmap loadBitmapFromFile(String fileNameWithPath) 

Method Source Code

//package com.java2s;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

public class Main {
    public static Bitmap loadBitmapFromFile(String fileNameWithPath) {
        Bitmap bitmap = BitmapFactory.decodeFile(fileNameWithPath);
        return bitmap;
    }// w w w . j  a  v  a2 s  .c  o m
}

Related

  1. getBitmap(String photoId)
  2. getBitmapFromAsset(String strName, Context context)
  3. getBitmapFromInternet(String strName)
  4. getBitmapFromUri(Context ctxt, Uri selectedImageURI)
  5. getBitmapFromUrl(String url)
  6. downloadBitmap(URI uri)
  7. returnBitMap(String path)
  8. getBitmapStoragePath(Context context)
  9. getTempBitmap(Context context)