Hello i am using this code ( https://stackoverflow.com/a/6772455/579646 ) to open an image in Gallery, but on android 2.2 and 2.3 it shows a me Toast saying "searching for new images and albums ..." and then after about 10 seconds of blank screen it finally shows my image. Plus if i change the image but leave the same file name, the gallery cache kicks in(or something like that) and i see the old image when zoomed out and new picture when zoomed it. The only fix is to use random name every time.
If i use this link https://stackoverflow.com/a/5814533/579646 then it opens faster but then i invade the gallery and it adds a folder to it. Is there a way to remove the folder after the user closes the gallery ?
How can i make Gallery open just one Image without scanning stuff and without adding some folder to the gallery by mediascanner ?
Thanks