Saving image to gallery


#1

Hi,

I have an jpg in my apk I want to save to device gallery.
I got as far as this

MediaStore.Images.Media.insertImage(mContext.getContentResolver(), path, “image”, “image”);

But i’m getting java.io.FileNotFoundException

my image path is wrong. How do I get the path of any asset in my game?

thanks