Skip to content

Instantly share code, notes, and snippets.

View Gkemon's full-sized avatar
😎
Being humanized

Gk Mohammad Emon Gkemon

😎
Being humanized
View GitHub Profile
@Gkemon
Gkemon / AndroidGallaryPhotoSaver.java
Last active April 16, 2022 09:15 — forked from samkirton/gist:0242ba81d7ca00b475b9
Fixed a bug where images added to the MediaStore are not inserted at the front of the gallery
package com.memtrip;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.graphics.Bitmap;