Android Question Thumbnail path

npsonic

Active Member
Licensed User
Is there any way to get thumbnail path with image id?

MediaBrowser lib doesn't help as it only provides Bitmap.

I was trying with the 'queryMiniThumbnail', but just can't get it to work.
B4X:
queryMiniThumbnail(ContentResolver cr, long origId, int kind, String[] projection)
 

npsonic

Active Member
Licensed User
It is a mistake to rely on file system paths when working with content providers. There are many cases where the resource doesn't come directly from the file system or it is not accessible.
How should I get all thumbnails fast as possible? If every thumbnail is get with MediaBrowser it will take too much time and create lag.

I was using Picasso to show real pictures, but showing thumbnails would be much faster.
 
Upvote 0
Top