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 ?



On Thu, Oct 8, 2009 at 9:44 AM, Abdul Mateen <[email protected]> wrote:
> 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.
>
>
>
> On Wed, Oct 7, 2009 at 5:29 PM, Jordan B. <[email protected]> wrote:
>>
>> 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 <[email protected]> wrote:
>> > 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 received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to