I'm trying to throw an intent to an activity that's triggered by some event, and I'd like for the activity to halt execution of everything else while it's on top. As such, I'm setting the activity as TYPE_SYSTEM_ALERT in the activity's onCreate() method:
super.onCreate(savedInstanceState); Window w = this.getWindow(); w.setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); setContentView(R.layout.alert); I noticed in the documentation that some window types/flags need to be set before setContentView, but I couldn't find a list of which. How do I know if my activity has indeed been set as a system window? All the examples I've seen online deal with Dialogs, not Activities. Thanks. -- 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

