Thank you for the info. I have noticed that the "leaked window" error is largely fixed with 1.5_r1 if you run using a 1.5 AVD. (It still occurs when I initiate a preference from an intent inside an xml, but is otherwise "cured.)
Jim On May 19, 11:15 am, Jason Parekh <jasonpar...@gmail.com> wrote: > Hi all, > > This is a bug in the preference framework where its created windows > aren't being disposed properly (something the framework should be > doing). You can safely ignore the error message (this will be fixed > in the future). > > jason > > 2009/5/19 Sikus <sikusra...@gmail.com>: > > > > > > > I don't understand point 1. I don't know how can I do it. But I try > > add <activity android:name=".Name" > > android:configChanges="keyboardHidden|orientation"> and everything > > works good. Is it clear this solution? > > > On 13 kvě, 15:28, scuellar <scuellar...@gmail.com> wrote: > >> This is the solution for you problem: > > >> When you change the screen orientation, the activity is destroy and > >> then re-created again, so you have to do the following: > > >> 1) Get a reference to the preference screen > >> 2) Override onDestroy method in your activity > >> 3) In you onDestroy method, call first super.onDestroy and then call > >> preferenceScreen.cancel() > > >> That's all > > >> PS: you'll have the same problem with Dialog, ... > > >> On Apr 14, 11:07 am, Sikus <sikusra...@gmail.com> wrote: > > >> > I try add android:configChanges="orientation" to my manifest, but > >> > error still show to me. I have progressDialog and when is showing I > >> > change orientation and occur eroor "04-14 10:51:36.138: ERROR/ > >> > WindowManager(615): Activity cz.prowide.ochodni_rejstrik.Firmy has > >> > leaked window com.android.internal.policy.impl.PhoneWindow > >> > $decorv...@4354ae68 that was originally added here..." > >> > Could anyone help me how fix it? Thanks > > >> > On 18 Ún, 17:34, Chander Pechetty <cspeche...@gmail.com> wrote: > > >> > > Are you getting this exception after you add > >> > > "android:configChanges="orientation" to your manifest file : > > >> > > <activity android:name=".ShowSettings" > >> > > android:configChanges="orientation"> > > >> > > On Feb 18, 2:15 pm, AusR <austinjr...@gmail.com> wrote: > > >> > > > Hi, can anyone shed any further light on this? Please? And Thank > >> > > > you!- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---