Set configuration activity as the launcher entry point in the manifest, check your flags, start the main activity, call finish. Do it all inside onCreate before setContentView.
Method 2, exactly opposite: set main activity as the entry point, check flags, call startActivityForResult for the config activity. 24.12.2011 3:31 пользователь "John Goche" <johngoch...@googlemail.com> написал: > > Hello, > > I am having the following issue. In my application I need to display > activity A the first time the application is launched so that the user > can configure some parameters on a form. When the user completes > the form a preference is set so that every other time the user starts > the application the application starts directly with activity B. > > Now I am having some trouble coding this behavior because the > android manifest file does not seem to allow for this conditional > launching. It is always the same activity which seems must be > launched first. > > How can I solve this issue? I hope I have explained the problem > clearly. Any help would be sincerely appreciated. > > Thanks, > > John Goche > > -- > 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 -- 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