On Fri, Feb 19, 2010 at 5:31 PM, RCP2278 <[email protected]> wrote:

> According to the
> devguide, there is an activity method onCreateThumbnail() which gets
> called just before that activity is about to suspend (or call just
> before onPause()).  However, for some reason, the onCreateThumbnail()
> is not getting called (I created an override method on my activity and
> set a breakpoint and verified its not getting called; similarly the
> thumbnail field in the activityInfo is set to null after the activity
> suspended).  So I googled for the reason and one of the responses I
> found was because it was disabled in the framework.  I think I'm able
> to locate where it was disabled, so just for my curiosity purposes, I
> tried to modify it so I can verify if it will now call
> onCreateThumbnail().  But this is where I got stuck because I have
> implemented my apk on Windows.
>

Well you can play with it, but this code was turned off prior to 1.0 (it was
done for an earlier version of the UI that was thrown out), so it has never
been turned on sense then and I would not guarantee it working well or not
causing the entire system to crash at random points. :}

Sorry about the confusing of that API still being there, it should have been
removed as part of the initial SDK cleanup.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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