In a book I read, the author suggests to extend the application class
in order to have a place to be used as a singleton. In this way, it is
easy to make some initialization stuff in it onCreate().

Now my question: if my application has also some broadcast receivers
declared in the manifest, and the application was not started
explicitly, or it was but then the os reclaimed it resources back,
what will be happening if the broadcast receiver is triggered? Will
the onCreate of the application class be called first?

Thanks in advance,

Federico

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

Reply via email to