So, this is a bug! I had to work around it in my app in a special case : my activity was calling an OpenIntent in onCreate to invoke a file picker. Everything was working right until the user had installed several apps able to handle the intent. Now I understand that it was the auto-generated activity chooser DIALOG that was triggering that bug!
The only workaround I found was adding a welcome screen and let the user tap a menuitem for picking a file... Thanks ! On Sep 18, 3:14 am, niko20 <[email protected]> wrote: > hah well good to hear its actually a bug :) but also my workaround > will take care of it too for now. :) > > On Sep 17, 5:07 pm, Dianne Hackborn <[email protected]> wrote: > > > > > (That said... there is a bug that will be fixed after 1.6 where if you try > > to start an activity from the onCreate/onStart/onResume of the first > > activity in a task, and the next activity is using the dialog theme, then > > the next activity wouldn't be displayed. You can probably work around this > > by making a custom dialog theme that doesn't have any animations.) > > > On Thu, Sep 17, 2009 at 3:05 PM, Dianne Hackborn <[email protected]>wrote: > > > > On Thu, Sep 17, 2009 at 1:08 PM, niko20 <[email protected]> wrote: > > > >> You should never start another activity directly from your OnCreate. > > > > That's not true. In fact there are many places where you want to start an > > > activity here (or in onStart or onResume) to ensure that the next activity > > > it shown before yours to avoid flicker. > > > > -- > > > 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. > > > -- > > 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 -~----------~----~----~----~------~----~------~--~---

