@@ -0,0 +1,1883 @@
+package eu.redray.trevie.utility;%0A%0Aimport android.content.Context;%0Aimport android.graphics.Bitmap;%0Aimport android.net.Uri;%0Aimport android.util.Log;%0A%0Aimport java.io.File;%0Aimport java.io.FileOutputStream;%0Aimport java.io.OutputStream;%0A%0A/**%0A * Created by frano on 23/01/2016.%0A */%0Apublic class PosterHeper %7B%0A    private final static String FILE_EXTENSION = %22.jpg%22;%0A    private final static String DIRECTORY = %22Posters%22;%0A%0A    /**%0A     * Saves poster image to internal storage%0A     * @param context Application's context%0A     * @param bitmap Movie poster to save%0A     * @param title Movie's title%0A     * @return Path to saved file%0A     */%0A    public static String savePoster(Context context, Bitmap bitmap, String title) %7B%0A        OutputStream fOut = null;%0A        Uri outputFileUri = null;%0A        try %7B%0A            File root = new File(context.getFilesDir()%0A                    + File.separator + DIRECTORY + File.separator);%0A            root.mkdirs();%0A            File sdImageMainDirectory = new File(root, title + FILE_EXTENSION);%0A            outputFileUri = Uri.fromFile(sdImageMainDirectory);%0A            fOut = new FileOutputStream(sdImageMainDirectory);%0A        %7D catch (Exception e) %7B%0A            Log.e(PosterHeper.class.getSimpleName(), e.getMessage(), e);%0A            e.printStackTrace();%0A        %7D%0A%0A        try %7B%0A            bitmap.compress(Bitmap.CompressFormat.PNG, 100, fOut);%0A            fOut.flush();%0A            fOut.close();%0A        %7D catch (Exception e) %7B%0A            Log.e(PosterHeper.class.getSimpleName(), e.getMessage(), e);%0A            e.printStackTrace();%0A        %7D%0A%0A        return outputFileUri.toString();%0A    %7D%0A%0A    public static boolean deletePoster(Context context, String title) %7B%0A        File file = new File(context.getFilesDir() + File.separator + DIRECTORY + File.separator,%0A                title + FILE_EXTENSION);%0A        return file.delete();%0A    %7D%0A%7D%0A

Add helper class that will handle poster image storage