I\'m currently working with a duplicate photo remover app my code snippet to import an image as follows :
Bitmap bmp1=bitmapFactory.decodeFile(filepath);