brilliant! thanks. sometimes you can't see what's right in front of your face! thanks!
On Mar 30, 9:44 am, TreKing <treking...@gmail.com> wrote: > On Tue, Mar 29, 2011 at 12:58 PM, sdphil <phil.pellouch...@gmail.com> wrote: > > public void onCreate() { > > .... > > .... > > if (condition is true) > > showDialog(42); > > .... > > } > > Change to: > > public void onCreate(Bundle bundle) > { > .... > // bundle is null on first start, non-null on restart > if (condition is true && bundle == null) > showDialog(42); > .... > > } > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- 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