Does anyone know how to integrate with the new Gallery3D app (cooliris android gallery)? I want to launch that app so it shows the thumbnails for only a specific folder.
For example, say my app downloads images from my server and stores them in a folder on the sd-card (/sdcard/myapp/image-cache/someid/*). I'd like to be able to do something like the following:
// within an activity
Uri uri = Uri.withAppendedPath(Media.EXTERNAL_CONTENT_URI, "myapp/image-cache/someid");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);
Thanks.
Yeah. It is source problem in the
CacheService.loadMediaSets
.The source is:
Reading of (hasImages and hasVideos) from the album metadata is missing. Putting two lines
in the loop after
mediaSet.mName = Utils.readUTF(dis);
will solve the problem, but nobody will do it.So, obviously, because of the bug in the source code it is impossible to display specified bucket (directory) in the Gallery. :(