But how activity knows if user already authenticated. if I use static variable isAuthenticated. Value of this variable will "true" after application minimized. and the problem remains.
I think alone way to do this is handle of minimizing. вторник, 13 августа 2013 г., 19:45:34 UTC+5 пользователь mbanzon написал: > > You could add an application service and have each activity query the > service for entered password upon creation/resume. > > On Tue, Aug 13, 2013 at 4:41 PM, passer <[email protected] <javascript:>> > wrote: > > But on which event should i do finish()? > > > > How can i know that the application minimized? All events happen on > calling > > going to activity too(( > > > > > > вторник, 13 августа 2013 г., 19:21:29 UTC+5 пользователь Kristopher > Micinski > > написал: > >> > >> You don't close the application, you can finish() the activity, > however. > >> > >> Kris > >> > >> > > -- > > 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]<javascript:> > > To unsubscribe from this group, send email to > > [email protected] <javascript:> > > 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 unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > -- > Michael Banzon > http://michaelbanzon.com/ > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

