Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Mediastore Thumbnails not generated until Gallery app is launched ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nivek  
View profile  
 More options Sep 30 2009, 1:38 am
From: Nivek <kevin.gau...@gmail.com>
Date: Tue, 29 Sep 2009 22:38:48 -0700 (PDT)
Local: Wed, Sep 30 2009 1:38 am
Subject: Mediastore Thumbnails not generated until Gallery app is launched ?
Is that normal that Images indexed in the MediaStore do not have
thumbnails generated until the Gallery app is launched and the user
actively navigates to the bucket where the image is stored ?

I think it's quite odd as I thought thulbnails generation was part of
media indexing.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nivek  
View profile  
 More options Sep 30 2009, 1:43 am
From: Nivek <kevin.gau...@gmail.com>
Date: Tue, 29 Sep 2009 22:43:34 -0700 (PDT)
Local: Wed, Sep 30 2009 1:43 am
Subject: Re: Mediastore Thumbnails not generated until Gallery app is launched ?
A side question : when we want to display a thumbnail which is not
available, is there a way to ask for its generation programmatically ?

On 30 sep, 07:38, Nivek <kevin.gau...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Streets Of Boston  
View profile  
 More options Sep 30 2009, 12:25 pm
From: Streets Of Boston <flyingdutc...@gmail.com>
Date: Wed, 30 Sep 2009 09:25:20 -0700 (PDT)
Local: Wed, Sep 30 2009 12:25 pm
Subject: Re: Mediastore Thumbnails not generated until Gallery app is launched ?
No.... well, at least I haven't found any.

I'm writing an app that creates images. I needed to code this from
scratch:

- Call bitmap.compress to store JPEG of full image and then use
MediaScannerConnection to insert it into the MediaStore.
- Generate thumbnails for my images: Insert new one into thumbnail
database and write out the corresponding JPEG. Using the MediaStore's
'insert()' method - which generates thumbnails as well, did not work
well, since it stores bitmaps as rather low resolution JPEGs (quality-
level = 50).
- Handle missing or corrupt thumbnails for the image-view part of my
app.

On Sep 30, 1:43 am, Nivek <kevin.gau...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jordan B.  
View profile  
 More options Oct 7 2009, 7:29 am
From: "Jordan B." <jordan.bon...@gmail.com>
Date: Wed, 7 Oct 2009 04:29:32 -0700 (PDT)
Local: Wed, Oct 7 2009 7:29 am
Subject: Re: Mediastore Thumbnails not generated until Gallery app is launched ?
I would also be interested to know if the thumbnail generation can be
done programmatically?
If it is not possible what do we need to do to generate them and store
them in the Thumbnails ContentProvider so that the gallery app does
not duplicate thumbnails?

On Sep 30, 7:38 am, Nivek <kevin.gau...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Abdul Mateen  
View profile  
 More options Oct 8 2009, 3:44 am
From: Abdul Mateen <abmat...@gmail.com>
Date: Thu, 8 Oct 2009 13:44:22 +0600
Local: Thurs, Oct 8 2009 3:44 am
Subject: Re: [android-developers] Re: Mediastore Thumbnails not generated until Gallery app is launched ?

Yes, there is methods to do so, Browse the code of Gallery and look into the
file ImageGallery2.java. you will find how to push a thumbnail into that.  I
have my app *FREE* hosted on Android Market that does the same thing , if
the image thumbnail is not present it will create one and use that. the app
name is "BrowseImage" that is a simple quick way of browsing images.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Gaudin  
View profile  
 More options Oct 8 2009, 4:21 am
From: Kevin Gaudin <kevin.gau...@gmail.com>
Date: Thu, 8 Oct 2009 10:21:28 +0200
Local: Thurs, Oct 8 2009 4:21 am
Subject: Re: [android-developers] Re: Mediastore Thumbnails not generated until Gallery app is launched ?
Hello, thanks for this, I have been also browsing the Camera app code
which hosts the Gallery and considering to "hack" something in order
to achieve an additional goal.

In my view of thumbnails management, the thumbnail generation itself
should be handled by the system. I don't think Android should let
every application generate thumbnails in different formats, sizes,
quality, locations.

What I am trying to achieve is to provide Camera code with the
original bitmap and let it generate the thumbnail and store it.

BUT, I think the real goal for android should better be to extract
thumbnails management from Camera app and put this task in the
MediaScanner or the Media ContentProvider.

We have a nice Media ContentProvider which allow us to retrieve Images
and their Thumbnails... but can't ensure that the thumbnail is
available so let people have to deal with their generation if it is
missing ?

I think this is nonsense. Don't you ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marco Nelissen  
View profile  
 More options Oct 8 2009, 11:13 am
From: Marco Nelissen <marc...@android.com>
Date: Thu, 8 Oct 2009 08:13:08 -0700
Local: Thurs, Oct 8 2009 11:13 am
Subject: Re: [android-developers] Re: Mediastore Thumbnails not generated until Gallery app is launched ?

Agreed. We're working on it.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Gaudin  
View profile  
 More options Oct 8 2009, 11:31 am
From: Kevin Gaudin <kevin.gau...@gmail.com>
Date: Thu, 8 Oct 2009 17:31:45 +0200
Local: Thurs, Oct 8 2009 11:31 am
Subject: Re: [android-developers] Re: Mediastore Thumbnails not generated until Gallery app is launched ?
Great !

- can we ask for a roadmap ? -

Thanks !!!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nivek  
View profile  
 More options Dec 19 2009, 3:20 am
From: Nivek <kevin.gau...@gmail.com>
Date: Sat, 19 Dec 2009 00:20:28 -0800 (PST)
Local: Sat, Dec 19 2009 3:20 am
Subject: RE: Mediastore Thumbnails not generated until Gallery app is launched ?
Hello,

As I can't find any news on this subject, I would like to know if the
thumbnails generation has been added to the MediaScanner in a 2.*
release ?

Thanks

Kevin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »