Thanks for the reply. I found the problem. There is a bug in android which is listed at
http://code.google.com/p/android/issues/detail?id=7479 <http://code.google.com/p/android/issues/detail?id=7479>As mentioned in the above bug my activity's orientation is fixed to landscape and when the phone gets unlocked it starts in the other mode hence a new activity is getting created each time. Thanks, Shashidhar On Fri, Aug 13, 2010 at 9:56 PM, TreKing <[email protected]> wrote: > On Fri, Aug 13, 2010 at 1:56 AM, Shashidhar <[email protected]>wrote: > >> Any specific reason for this ????? > > > Determine all the places where you start your activity. > Are you somewhere possibly starting your activity in response to broadcast > events or in onPause / onStop / onResume/ onStart? > > > ------------------------------------------------------------------------------------------------- > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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

