Sunday, August 18, 2013

[android-developers] Re: close on minimise application

Its easy to pass along that information between activities.
it's also easy to know whether the activity started fresh or is coming back from background or recreated due to config changes. 


On Thursday, August 15, 2013 2:29:55 PM UTC+3, passer wrote:
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.

среда, 14 августа 2013 г., 13:51:25 UTC+5 пользователь Piren написал:
that's a bad idea... unless your application is just one activity, it will probably piss your users off that they have to navigate it from the start every time it is being backgrounded.
take mbanzon's idea - each activity will need to request the password if needed. 
You can do it easily by extending an activity with code that handles that, then having all the needed activities inherit from it.


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate