Fork of AOSP ICS Gallery that you can use as a library in your app. Just give it a folder location and it does the rest.