Sorry, the Toast in the example is defined in onStart method, but the result is same even if I put that inside onCreate method.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/9d192d14-d1e6-4978-acc1-45036af55024%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.