in *Oncreate* method call* finish();* to end the activity. On Thu, Nov 3, 2011 at 5:15 PM, Shajahan <[email protected]> wrote:
> @ratheesh, > assume a scenario, user not logged out from the app and he want to go > back ....in this case if i apply the above stated solution. > then it will take the app to the login screen --> which is not > intented by the user > and logically this shouldn't be happening rite ??? > > @Ibendlin, > Can you please post the sample code ?? > > On Nov 3, 4:26 pm, Ratheesh Valamchuzhy <[email protected]> wrote: > > if you alrady finish the existing activity , then give a function for > > android back button . while pressing the back button you start the home > > activity;;;;;;;;;;;; > > -- > 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 > -- 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

