Honeycomb-MTP-sample is a project mainly written in Java, it's free.
Do slide show JPEG photos in a digital camera