> Right now I am using onCreate() to create a boolean variable which
> make the notification appear only when onCreate() sets the boolean
> flag. That is fine mostly, my only problem with it is that onCreate()
> is called when the orientation changes, which is kind of annoying.

You *can* disable this in AndroidManifest, with the
android:configChanges attribute of your application.  However... you
have to be aware of what this means.

I'm with the other guys, you probably want to do that some other way.
Perhaps another thread or some kind of static class?


- Michael

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to