Hello, I'd like my activity to start without any display and, based on some criteria/user preference, revert back to displaying a UI/dialogue when onCreate() is called.
After some research on the web, I found that the application manifest can be easily set to force a "none display" theme with ' android:theme="@android:style/Theme.NoDisplay" ' - and effectively, my activity starts and nothing gets displayed. What is not obvious is how to force a theme from onCreate() that will allow me to see dialogues. I've tried forcing a time with setTheme() from onCreate() with an opaque background but it did not work. It's as if there's is no window manager that was ever initialized when the manifest is set to "Theme.NoDisplay". I'd appreciate if anyone could help! Regards, -- 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

