onResume() happens after onCreate(), so just put your code here, and you will be covered for both cases.
On Tuesday, April 10, 2012 10:23:36 AM UTC-7, Jovish P wrote: > > In our app we are using following code > > Intent intent = new Intent(this,MailComposer.class); > > intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_SINGLE_TOP); > startActivity(intent); > > The problem we are facing is , in 2.2 onResume() of MailComposer screen > is getting invoked but in 1.6 onCreate() is getting invoked and onResume() > after that. Why it is so ? Is it a bug in Android or fault from our side > ????? Please help me out .......... > > Regards, > Jovish p > -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/android-discuss/-/Ou2r8xg1eKgJ. 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-discuss?hl=en.
