Android: Save Bitmap to Gallery ==> Time created wrong
In my Android App i want to save a Bitmap in the Gallery, actually that works fine with the code below. The only mistake is that when I open the image in the gallery the time created in the details is wrong. and folowing that, the image is not in the correct order in the gallery. Has somebody an idea? Thanks a lot for help String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date()); Bitmap combination = //get my bitmap! //save in gallery MediaStore.Images.Media.insertImage(exploreActivity.getContentResolver(),combination,"test_"+ timeStamp + ".jpg",timeStamp.toString()); here